Uses of Class
de.hybris.platform.integrationservices.asserts.JsonObjectAssertion
Packages that use JsonObjectAssertion
Package
Description
-
Uses of JsonObjectAssertion in de.hybris.platform.integrationservices.asserts
Methods in de.hybris.platform.integrationservices.asserts that return JsonObjectAssertionModifier and TypeMethodDescriptionstatic JsonObjectAssertionJsonObjectAssertion.assertionOf(JsonObject json) StructureAssertions.assertThat(JsonObject json) JsonObjectAssertion.doesNotHavePath(String path) Verifies whether the specified path does not exist or does not resolve to a value in the context JsonObject.JsonObjectAssertion.hasEmptyCollectionForPath(String path) Verifies whether the specified path exists and resolves to a value in the context JsonObject.JsonObjectAssertion.hasPathContainingExactly(String path, Object... expected) JsonObjectAssertion.hasPathContainingExactly(String path, List<Object> expected) JsonObjectAssertion.hasPathWithValue(String path, String value) JsonObjectAssertion.hasPathWithValueContaining(String path, String value) JsonObjectAssertion.isEmpty()JsonObjectAssertion.pathContainsMatchingElement(String path, com.jayway.jsonpath.Filter filter) Verifies whether the specified path pointing to a JSON array/collection element contains an element matching the condition.JsonObjectAssertion.pathHasSize(String path, int numExpectedEntries) Verifies whether the specified path contains a JSON array/collection of the expected size. -
Uses of JsonObjectAssertion in de.hybris.platform.odata2services.odata.asserts
Methods in de.hybris.platform.odata2services.odata.asserts that return JsonObjectAssertionModifier and TypeMethodDescriptionstatic JsonObjectAssertionODataAssertions.assertThat(JsonObject json) ODataResponseAssertion.jsonBody()