Interface Answer<T>

    • Method Detail

      • answer

        T answer​(InvocationOnMock invocation)
          throws java.lang.Throwable
        Parameters:
        invocation - the invocation on the mock.
        Returns:
        the value to be returned
        Throws:
        java.lang.Throwable - the throwable to be thrown