@Test public void invalidJsonDoesNotMatch() throws Exception { final Matcher<String> sut = isJsonStringMatching(any(JsonNode.class)); assertThat("{", not(sut)); }
public static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher) { return new IsJsonStringMatching(matcher); }
IsJsonStringMatching extends TypeSafeDiagnosingMatcher<String> { public static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher) { return new IsJsonStringMatching(matcher); } }
IsJsonStringMatching extends TypeSafeDiagnosingMatcher<String> { public static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher) { return new IsJsonStringMatching(matcher); } private  IsJsonStringMatching(final Matcher<JsonNode> matcher); }
IsJsonStringMatching extends TypeSafeDiagnosingMatcher<String> { public static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher) { return new IsJsonStringMatching(matcher); } private  IsJsonStringMatching(final Matcher<JsonNode> matcher); static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher); @Override void describeTo(final Description description); }
IsJsonStringMatching extends TypeSafeDiagnosingMatcher<String> { public static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher) { return new IsJsonStringMatching(matcher); } private  IsJsonStringMatching(final Matcher<JsonNode> matcher); static Matcher<String> isJsonStringMatching(final Matcher<JsonNode> matcher); @Override void describeTo(final Description description);  }