| Package | Description |
|---|---|
| de.hybris.platform.integrationservices.asserts | |
| de.hybris.platform.odata2services.odata.asserts |
| Modifier and Type | Method and Description |
|---|---|
static JsonObjectAssertion |
JsonObjectAssertion.assertionOf(JsonObject json) |
JsonObjectAssertion |
StructureAssertions.assertThat(JsonObject json) |
JsonObjectAssertion |
JsonObjectAssertion.doesNotHavePath(java.lang.String path)
Verifies whether the specified path does not exist or does not resolve to a value in the context JsonObject.
|
JsonObjectAssertion |
JsonObjectAssertion.hasEmptyCollectionForPath(java.lang.String path) |
JsonObjectAssertion |
JsonObjectAssertion.hasPath(java.lang.String path)
Verifies whether the specified path exists and resolves to a value in the context JsonObject.
|
JsonObjectAssertion |
JsonObjectAssertion.hasPathContainingExactly(java.lang.String path,
java.util.List<java.lang.Object> expected) |
JsonObjectAssertion |
JsonObjectAssertion.hasPathContainingExactly(java.lang.String path,
java.lang.Object... expected) |
JsonObjectAssertion |
JsonObjectAssertion.hasPathWithValue(java.lang.String path,
java.lang.String value) |
JsonObjectAssertion |
JsonObjectAssertion.hasPathWithValueContaining(java.lang.String path,
java.lang.String value) |
JsonObjectAssertion |
JsonObjectAssertion.isEmpty() |
JsonObjectAssertion |
JsonObjectAssertion.pathContainsMatchingElement(java.lang.String path,
Filter filter)
Verifies whether the specified path pointing to a JSON array/collection element contains an element matching the condition.
|
JsonObjectAssertion |
JsonObjectAssertion.pathHasSize(java.lang.String path,
int numExpectedEntries)
Verifies whether the specified path contains a JSON array/collection of the expected size.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObjectAssertion |
ODataResponseAssertion.jsonBody() |
Copyright © 2018 SAP SE. All Rights Reserved.