Class AbstractInvocationDispatcher

    • Field Detail

      • NO_EXPECTATIONS_MESSAGE

        public static final java.lang.String NO_EXPECTATIONS_MESSAGE
        See Also:
        Constant Field Values
      • invokables

        protected java.util.List invokables
      • defaultStub

        protected Stub defaultStub
    • Constructor Detail

      • AbstractInvocationDispatcher

        public AbstractInvocationDispatcher()
    • Method Detail

      • verify

        public void verify()
        Description copied from interface: Verifiable
        Throw an AssertionFailedException if any expectations have not been met. Implementations of this method must be idempotent: jMock can call this method more than once when verifying expectations at the end of a test.
        Specified by:
        verify in interface Verifiable
      • describeTo

        public java.lang.StringBuffer describeTo​(java.lang.StringBuffer buffer)
        Description copied from interface: SelfDescribing
        Appends the description of this object to the buffer.
        Specified by:
        describeTo in interface SelfDescribing
        Parameters:
        buffer - The buffer that the description is appended to.
        Returns:
        The buffer passed to the invokedMethod.
      • dispatchOrder

        protected abstract java.util.Iterator dispatchOrder​(java.util.List invokablesList)