InvocationDispatcher
Date: 2015-09-15

org.jmock.core

## Interface InvocationDispatcher

- All Superinterfaces:
    SelfDescribing, Verifiable
  All Known Implementing Classes:
    AbstractInvocationDispatcher, FIFOInvocationDispatcher, LIFOInvocationDispatcher

      public interface InvocationDispatcher
      extends Verifiable, SelfDescribing

  Since:
    1.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Invokable invokable)`
    `void` | `clear()`
    `java.lang.Object` | `dispatch(Invocation invocation)`
    `void` | `setDefaultStub(Stub newDefaultStub)`

    - ### Methods inherited from interface org.jmock.core.Verifiable

      `verify`

    - ### Methods inherited from interface org.jmock.core.SelfDescribing

      `describeTo`

- - ### Method Detail

    - #### dispatch

          java.lang.Object dispatch(Invocation invocation)
                                    throws java.lang.Throwable

      Throws:
        `java.lang.Throwable`

    - #### setDefaultStub

          void setDefaultStub(Stub newDefaultStub)

    - #### add

          void add(Invokable invokable)

    - #### clear

          void clear()