public static class BaseExpectations.ValueSaverAction<T>
extends org.hamcrest.BaseMatcher<T>
implements org.jmock.api.Action
Constructor and Description |
---|
ValueSaverAction() |
ValueSaverAction(String logMatch,
boolean logInvocation) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description arg0) |
Object |
invoke(org.jmock.api.Invocation invocation) |
protected boolean |
match(T lastValue2) |
boolean |
matches(Object arg) |
protected T |
onMatch(T value) |
String |
toString() |
protected T |
transformOnMatch(T value) |
protected boolean |
validate(T value) |
public ValueSaverAction()
public ValueSaverAction(String logMatch, boolean logInvocation)
public final boolean matches(Object arg)
matches
in interface org.hamcrest.Matcher<T>
protected boolean match(T lastValue2)
protected boolean validate(T value)
public void describeTo(org.hamcrest.Description arg0)
describeTo
in interface org.hamcrest.SelfDescribing
public Object invoke(org.jmock.api.Invocation invocation) throws Throwable
invoke
in interface org.jmock.api.Invokable
Throwable
Copyright © 2019 OpenDaylight. All rights reserved.