java.lang.Object
org.hamcrest.BaseMatcher<ConfigNode>
org.hamcrest.TypeSafeMatcher<ConfigNode>
io.helidon.config.testing.ValueNodeMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<ConfigNode>,org.hamcrest.SelfDescribing
Hamcrest
Matcher implementation that matches ConfigNode.ValueNode value.-
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeMismatchSafely(ConfigNode item, org.hamcrest.Description description) voiddescribeTo(org.hamcrest.Description description) booleanmatchesSafely(ConfigNode actualValue) static ValueNodeMatcherCreates new instance ofValueNodeMatcherthat matchesConfigNode.ValueNodewith spacifiedexpectedValue.Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Method Details
-
valueNode
Creates new instance ofValueNodeMatcherthat matchesConfigNode.ValueNodewith spacifiedexpectedValue.- Parameters:
expectedValue- expected value holded byConfigNode.ValueNode- Returns:
- new instance of
ValueNodeMatcher
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<ConfigNode>
-
describeMismatchSafely
- Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<ConfigNode>
-