U - the type of the value returned by the display commandT - the type of metric sink fixture this is matchingpublic class MetricHasSimpleValueMatcher<U,T extends AbstractMetricSink & HasDisplayValue<U>>
extends org.hamcrest.DiagnosingMatcher<T>
<metric type> display xxx shell command displays the expected value.| Constructor and Description |
|---|
MetricHasSimpleValueMatcher(U expectedValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matches(java.lang.Object item,
org.hamcrest.Description mismatchDescription) |
public MetricHasSimpleValueMatcher(U expectedValue)
protected boolean matches(java.lang.Object item,
org.hamcrest.Description mismatchDescription)
matches in class org.hamcrest.DiagnosingMatcher<T extends AbstractMetricSink & HasDisplayValue<U>>public void describeTo(org.hamcrest.Description description)