Class InvocationDispatcher

    • Constructor Detail

      • InvocationDispatcher

        public InvocationDispatcher()
      • InvocationDispatcher

        public InvocationDispatcher​(java.util.Collection<Expectation> theExpectations,
                                    java.util.Collection<StateMachine> theStateMachines)
    • Method Detail

      • newStateMachine

        public StateMachine newStateMachine​(java.lang.String name)
      • describeTo

        public void describeTo​(org.hamcrest.Description description)
        Specified by:
        describeTo in interface org.hamcrest.SelfDescribing
      • describeMismatch

        public void describeMismatch​(Invocation invocation,
                                     org.hamcrest.Description description)
      • isSatisfied

        public boolean isSatisfied()
      • dispatch

        public java.lang.Object dispatch​(Invocation invocation)
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable