Uses of Class
org.springframework.test.json.JsonPathAssert
Package
Description
Testing support for JSON.
AssertJ support for MockMvc.
-
Uses of JsonPathAssert in org.springframework.test.json
Modifier and TypeMethodDescriptionJsonPathAssert.doesNotHavePath
(String path) Verify that the given JSONpath
does not match.Verify that the given JSONpath
matches.JsonPathAssert.hasPathSatisfying
(String path, Consumer<org.assertj.core.api.AssertProvider<JsonPathValueAssert>> valueRequirements) Verify that the given JSONpath
is present with a JSON value satisfying the givenvalueRequirements
. -
Uses of JsonPathAssert in org.springframework.test.web.servlet.assertj