Files
spring-boot/spring-boot-project/spring-boot-test/src/test/resources
Phillip Webb 0d92af7d55 Add hasJsonPath and doesNotHaveJsonPath asserts
Extend `JsonContentAssert` with `hasJsonPath` and `doesNotHaveJsonPath`
methods which can be used to check the path regardless of the value it
may or may not contain.

Prior to this commit there wasn't an easy way to assert that the
Jackson `@JsonInclude(JsonInclude.Include.NON_NULL)` annotation was
applied since `assertDoesNotHavePathValue` would pass for both
`{"name" : null}` and `{}`.

Closes gh-17608
2019-07-23 15:43:51 +01:00
..
2019-06-04 14:20:25 -07:00
2019-06-04 14:20:25 -07:00
2019-06-04 14:20:25 -07:00
2019-06-04 14:20:25 -07:00