| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.assertj |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
JsonAssert.ConfigurableJsonAssert |
JsonAssert that can be configured to prevent mistakes like
assertThatJson(...).isEqualsTo(...).when(...);
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonAssert |
JsonAssert.ConfigurableJsonAssert.inPath(String jsonPath) |
|
JsonAssert |
JsonAssert.isEqualTo(Object expected) |
Compares JSONs.
|
JsonAssert |
JsonAssert.isNotNull() |
Asserts that given node is present and is not null.
|
JsonAssert |
JsonAssert.isPresent() |
Asserts that given node is present.
|
JsonAssert |
JsonAssert.node(String node) |
Moves comparison to given node.
|
Copyright © 2018. All rights reserved.