Package org.mockito.internal.invocation
Class RealMethod.FromBehavior
- java.lang.Object
-
- org.mockito.internal.invocation.RealMethod.FromBehavior
-
- All Implemented Interfaces:
java.io.Serializable
,RealMethod
- Direct Known Subclasses:
RealMethod.FromCallable
- Enclosing interface:
- RealMethod
public static class RealMethod.FromBehavior extends java.lang.Object implements RealMethod
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mockito.internal.invocation.RealMethod
RealMethod.FromBehavior, RealMethod.FromCallable, RealMethod.IsIllegal
-
-
Field Summary
Fields Modifier and Type Field Description private InvocationFactory.RealMethodBehavior<?>
behavior
-
Constructor Summary
Constructors Constructor Description FromBehavior(InvocationFactory.RealMethodBehavior<?> behavior)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke()
boolean
isInvokable()
-
-
-
Field Detail
-
behavior
private final InvocationFactory.RealMethodBehavior<?> behavior
-
-
Constructor Detail
-
FromBehavior
FromBehavior(InvocationFactory.RealMethodBehavior<?> behavior)
-
-
Method Detail
-
isInvokable
public boolean isInvokable()
- Specified by:
isInvokable
in interfaceRealMethod
-
invoke
public java.lang.Object invoke() throws java.lang.Throwable
- Specified by:
invoke
in interfaceRealMethod
- Throws:
java.lang.Throwable
-
-