Class SingleRegisteredInvocation
- java.lang.Object
-
- org.mockito.internal.verification.SingleRegisteredInvocation
-
- All Implemented Interfaces:
java.io.Serializable,RegisteredInvocations
public class SingleRegisteredInvocation extends java.lang.Object implements RegisteredInvocations, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Invocationinvocation
-
Constructor Summary
Constructors Constructor Description SingleRegisteredInvocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Invocation invocation)voidclear()java.util.List<Invocation>getAll()booleanisEmpty()voidremoveLast()
-
-
-
Field Detail
-
invocation
private Invocation invocation
-
-
Method Detail
-
add
public void add(Invocation invocation)
- Specified by:
addin interfaceRegisteredInvocations
-
removeLast
public void removeLast()
- Specified by:
removeLastin interfaceRegisteredInvocations
-
getAll
public java.util.List<Invocation> getAll()
- Specified by:
getAllin interfaceRegisteredInvocations
-
clear
public void clear()
- Specified by:
clearin interfaceRegisteredInvocations
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceRegisteredInvocations
-
-