Package org.mockito.internal.invocation
Interface RealMethod
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
MockMethodAdvice.RealMethodCall
,MockMethodAdvice.SerializableRealMethodCall
,MockMethodAdvice.StaticMethodCall
,ProxyMockMaker.RealDefaultMethod
,RealMethod.FromBehavior
,RealMethod.FromCallable
,RealMethod.IsIllegal
public interface RealMethod extends java.io.Serializable
Interface that wraps a 'real' method of the mock object. Needed for test spies orInvocationOnMock.callRealMethod()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RealMethod.FromBehavior
static class
RealMethod.FromCallable
static class
RealMethod.IsIllegal
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
invoke()
boolean
isInvokable()
-