Class StubbedInvocationMatcher

    • Constructor Detail

    • Method Detail

      • answer

        public java.lang.Object answer​(InvocationOnMock invocation)
                                throws java.lang.Throwable
        Specified by:
        answer in interface Answer
        Parameters:
        invocation - the invocation on the mock.
        Returns:
        the value to be returned
        Throws:
        java.lang.Throwable - the throwable to be thrown
      • addAnswer

        public void addAnswer​(Answer answer)
      • wasUsed

        public boolean wasUsed()