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 TypeMethodDescriptionvoid
describeMismatchSafely
(ConfigNode item, org.hamcrest.Description description) void
describeTo
(org.hamcrest.Description description) boolean
matchesSafely
(ConfigNode actualValue) static ValueNodeMatcher
Creates new instance ofValueNodeMatcher
that matchesConfigNode.ValueNode
with spacifiedexpectedValue
.Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Method Details
-
valueNode
Creates new instance ofValueNodeMatcher
that matchesConfigNode.ValueNode
with spacifiedexpectedValue
.- Parameters:
expectedValue
- expected value holded byConfigNode.ValueNode
- Returns:
- new instance of
ValueNodeMatcher
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<ConfigNode>
-
describeMismatchSafely
- Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<ConfigNode>
-