Package org.mockito.internal.progress
Class ArgumentMatcherStorageImpl
java.lang.Object
org.mockito.internal.progress.ArgumentMatcherStorageImpl
- All Implemented Interfaces:
ArgumentMatcherStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stack<LocalizedMatcher>
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertStateFor
(String additionalMatcherName, int subMatchersCount) private ArgumentMatcher<?>
void
void
reportMatcher
(ArgumentMatcher<?> matcher) void
void
reportOr()
void
reset()
private List<LocalizedMatcher>
void
-
Field Details
-
TWO_SUB_MATCHERS
private static final int TWO_SUB_MATCHERS- See Also:
-
ONE_SUB_MATCHER
private static final int ONE_SUB_MATCHER- See Also:
-
matcherStack
-
-
Constructor Details
-
ArgumentMatcherStorageImpl
public ArgumentMatcherStorageImpl()
-
-
Method Details
-
reportMatcher
- Specified by:
reportMatcher
in interfaceArgumentMatcherStorage
-
pullLocalizedMatchers
- Specified by:
pullLocalizedMatchers
in interfaceArgumentMatcherStorage
-
reportAnd
public void reportAnd()- Specified by:
reportAnd
in interfaceArgumentMatcherStorage
-
reportOr
public void reportOr()- Specified by:
reportOr
in interfaceArgumentMatcherStorage
-
reportNot
public void reportNot()- Specified by:
reportNot
in interfaceArgumentMatcherStorage
-
validateState
public void validateState()- Specified by:
validateState
in interfaceArgumentMatcherStorage
-
reset
public void reset()- Specified by:
reset
in interfaceArgumentMatcherStorage
-
assertStateFor
-
popMatcher
-
resetStack
-