- java.lang.Object
-
- org.hamcrest.BaseMatcher<ConfigNode>
-
- io.helidon.config.testing.ValueNodeMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<ConfigNode>,org.hamcrest.SelfDescribing
public final class ValueNodeMatcher extends org.hamcrest.BaseMatcher<ConfigNode>
HamcrestMatcherimplementation that matchesConfigNode.ValueNodevalue.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)booleanmatches(Object actualValue)static ValueNodeMatchervalueNode(String expectedValue)Creates new instance ofValueNodeMatcherthat matchesConfigNode.ValueNodewith spacifiedexpectedValue.
-
-
-
Method Detail
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
matches
public boolean matches(Object actualValue)
-
valueNode
public static ValueNodeMatcher valueNode(String expectedValue)
Creates new instance ofValueNodeMatcherthat matchesConfigNode.ValueNodewith spacifiedexpectedValue.- Parameters:
expectedValue- expected value holded byConfigNode.ValueNode- Returns:
- new instance of
ValueNodeMatcher
-
-