| Package | Description |
|---|---|
| de.hybris.platform.integrationservices.asserts | |
| de.hybris.platform.integrationservices.util |
| Modifier and Type | Method and Description |
|---|---|
static JsonObjectAssertion |
JsonObjectAssertion.assertionOf(JsonObject json) |
void |
JsonEvaluator.assertJsonArrayPathContains(WritableAssertionInfo info,
JsonObject json,
java.lang.String path,
Filter filter) |
void |
JsonEvaluator.assertJsonArraySize(WritableAssertionInfo info,
JsonObject json,
java.lang.String path,
int numExpectedEntries) |
void |
JsonEvaluator.assertJsonHasMatchingPath(WritableAssertionInfo info,
JsonObject json,
java.lang.String path) |
void |
JsonEvaluator.assertJsonHasNoMatchingPath(WritableAssertionInfo info,
JsonObject json,
java.lang.String path) |
void |
JsonEvaluator.assertJsonIsEmpty(WritableAssertionInfo info,
JsonObject json) |
java.lang.Object |
JsonEvaluator.assertJsonPathContains(WritableAssertionInfo info,
JsonObject json,
java.lang.String path,
java.lang.String expected) |
void |
JsonEvaluator.assertJsonPathContainsElementsExactly(JsonObject json,
java.lang.String path,
java.util.List<java.lang.Object> expected) |
java.lang.Object |
JsonEvaluator.assertJsonPathContainsEmptyCollection(WritableAssertionInfo info,
JsonObject json,
java.lang.String path) |
void |
JsonEvaluator.assertJsonPathContainsValueLike(WritableAssertionInfo info,
JsonObject json,
java.lang.String path,
java.lang.String expected) |
JsonObjectAssertion |
StructureAssertions.assertThat(JsonObject json) |
static AssertionErrorFactory |
JsonErrors.contentShouldBeEmpty(JsonObject json) |
static AssertionErrorFactory |
JsonErrors.pathShouldContainEmptyCollections(JsonObject json,
java.lang.String path,
java.util.Collection<?> content) |
static AssertionErrorFactory |
JsonErrors.pathShouldContainNumberOfElements(JsonObject json,
java.lang.String path,
int actual,
int expected) |
static AssertionErrorFactory |
JsonErrors.pathShouldExist(JsonObject json,
java.lang.String path) |
static AssertionErrorFactory |
JsonErrors.pathShouldHaveMatchingElements(JsonObject json,
java.lang.String path,
Filter filter) |
static AssertionErrorFactory |
JsonErrors.pathShouldHaveValue(JsonObject json,
java.lang.String path,
java.lang.String actual,
java.lang.String expected) |
static AssertionErrorFactory |
JsonErrors.pathShouldNotExist(JsonObject json,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
static JsonObject |
JsonObject.createFrom(java.io.InputStream in)
Parses JSON content from the input stream and creates new json object
|
static JsonObject |
JsonObject.createFrom(java.lang.String json)
Parses JSON content and creates new json object
|
Copyright © 2018 SAP SE. All Rights Reserved.