@Test public void testMismatchType() throws Exception { final Matcher<JsonNode> sut = jsonMissing(); final StringDescription description = new StringDescription(); sut.describeMismatch(NF.textNode("goat"), description); assertThat(description.toString(), is( "was not a missing node, but a string node" )); }
public static Matcher<JsonNode> jsonMissing() { return INSTANCE; }
IsJsonMissing extends AbstractJsonNodeMatcher<MissingNode> { public static Matcher<JsonNode> jsonMissing() { return INSTANCE; } }
IsJsonMissing extends AbstractJsonNodeMatcher<MissingNode> { public static Matcher<JsonNode> jsonMissing() { return INSTANCE; } protected  IsJsonMissing(); }
IsJsonMissing extends AbstractJsonNodeMatcher<MissingNode> { public static Matcher<JsonNode> jsonMissing() { return INSTANCE; } protected  IsJsonMissing(); static Matcher<JsonNode> jsonMissing(); @SuppressWarnings("unused") static Matcher<JsonNode> jsonMissing(final MissingNode value); @Override void describeTo(Description description); }
IsJsonMissing extends AbstractJsonNodeMatcher<MissingNode> { public static Matcher<JsonNode> jsonMissing() { return INSTANCE; } protected  IsJsonMissing(); static Matcher<JsonNode> jsonMissing(); @SuppressWarnings("unused") static Matcher<JsonNode> jsonMissing(final MissingNode value); @Override void describeTo(Description description);  }