Class BaseExpectations.ValueSaverAction<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.opendaylight.lispflowmapping.tools.junit.BaseExpectations.ValueSaverAction<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>
,org.hamcrest.SelfDescribing
,org.jmock.api.Action
,org.jmock.api.Invokable
- Enclosing class:
- BaseExpectations
public static class BaseExpectations.ValueSaverAction<T>
extends org.hamcrest.BaseMatcher<T>
implements org.jmock.api.Action
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description arg0) invoke
(org.jmock.api.Invocation invocation) protected boolean
final boolean
protected T
toString()
protected T
transformOnMatch
(T value) protected boolean
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch
-
Field Details
-
lastValue
-
values
-
-
Constructor Details
-
ValueSaverAction
public ValueSaverAction() -
ValueSaverAction
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceorg.hamcrest.Matcher<T>
-
onMatch
-
match
-
validate
-
transformOnMatch
-
describeTo
public void describeTo(org.hamcrest.Description arg0) - Specified by:
describeTo
in interfaceorg.hamcrest.SelfDescribing
-
invoke
- Specified by:
invoke
in interfaceorg.jmock.api.Invokable
- Throws:
Throwable
-
toString
- Overrides:
toString
in classorg.hamcrest.BaseMatcher<T>
-