Merge pull request #9678 from Priyanshi Goyal
* gh-9678: Polish "Deprecate JsonContent.assertThat()" Deprecate JsonContent.assertThat()
This commit is contained in:
commit
b190a0779d
|
|
@ -52,7 +52,15 @@ public final class JsonContent<T> implements AssertProvider<JsonContentAssert> {
|
|||
this.json = json;
|
||||
}
|
||||
|
||||
/**
|
||||
* Use AssertJ's {@link org.assertj.core.api.Assertions#assertThat assertThat}
|
||||
* instead.
|
||||
*
|
||||
* @deprecated in favor of AssertJ's {@link org.assertj.core.api.Assertions#assertThat
|
||||
* assertThat}
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
public JsonContentAssert assertThat() {
|
||||
return new JsonContentAssert(this.resourceLoadClass, this.json);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue