Package: groovy.mock.interceptor

## [Groovy] Class Ignore

- groovy.mock.interceptor.Ignore

-     class Ignore
      extends Object

  Helper object to support convenience "ignore.methodName" notation similar to demand notation. Can't be used with methods within `java.lang.Object`.

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `Object` | `parent` Owning MockFor or StubFor instance receiving ignore registrations.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `Ignore()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Object` | `invokeMethod(String methodName, Object args)` Registers an ignored method using the `ignore.methodName(...)` shorthand.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Property Detail

    - #### Object parent

      Owning MockFor or StubFor instance receiving ignore registrations.

  - ### Constructor Detail

    - #### Ignore()

  - ### Method Detail

    - #### Object invokeMethod(String methodName, Object args)

      Registers an ignored method using the `ignore.methodName(...)` shorthand.

      Parameters:
        `methodName` - the method name to ignore
        `args` - optional single behavior closure
      Returns:
        `null`