- 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>
HamcrestMatcher
implementation that matchesConfigNode.ValueNode
value.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matches(Object actualValue)
static ValueNodeMatcher
valueNode(String expectedValue)
Creates new instance ofValueNodeMatcher
that matchesConfigNode.ValueNode
with 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 ofValueNodeMatcher
that matchesConfigNode.ValueNode
with spacifiedexpectedValue
.- Parameters:
expectedValue
- expected value holded byConfigNode.ValueNode
- Returns:
- new instance of
ValueNodeMatcher
-
-