Class CallRealMethodAndSpyGHObjectResults

    • Constructor Detail

      • CallRealMethodAndSpyGHObjectResults

        public CallRealMethodAndSpyGHObjectResults​(Function<org.kohsuke.github.GHObject,​DefaultableMocking<? extends org.kohsuke.github.GHObject>> defaultableMockingProvider)
    • Method Detail

      • answer

        public Object answer​(org.mockito.invocation.InvocationOnMock invocation)
                      throws Throwable
        Specified by:
        answer in interface org.mockito.stubbing.Answer<Object>
        Throws:
        Throwable