Uses of Class
net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
-
Uses of JsonFluentAssert in net.javacrumbs.jsonunit.fluent
Subclasses of JsonFluentAssert in net.javacrumbs.jsonunit.fluent Modifier and Type Class Description static classJsonFluentAssert.ConfigurableJsonFluentAssertJsonFluentAssert that can be configured.Methods in net.javacrumbs.jsonunit.fluent that return JsonFluentAssert Modifier and Type Method Description JsonFluentAssertJsonFluentAssert. hasSameStructureAs(Object expected)Deprecated.Use IGNORING_VALUES option insteadJsonFluentAssertJsonFluentAssert. isAbsent()Fails if the node exists.JsonFluentAssertJsonFluentAssert. isEqualTo(Object expected)Compares JSON for equality.JsonFluentAssertJsonFluentAssert. isNotEqualTo(Object expected)Fails if compared documents are equal.JsonFluentAssertJsonFluentAssert. isPresent()Fails if the node is missing.JsonFluentAssertJsonFluentAssert. isStringEqualTo(String expected)Fails if the selected JSON is not a String or is not present or the value is not equal to expected value.JsonFluentAssertJsonFluentAssert. matches(org.hamcrest.Matcher<?> matcher)Matches the node using Hamcrest matcher.JsonFluentAssertJsonFluentAssert. node(String newPath)Creates an assert object that only compares given node.
-