Deprecate JsonContent.assertThat()
See gh-9678
This commit is contained in:
committed by
Andy Wilkinson
parent
d62c26c971
commit
fa57491030
@@ -52,7 +52,11 @@ public final class JsonContent<T> implements AssertProvider<JsonContentAssert> {
|
||||
this.json = json;
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link org.assertj.core.api.Assertions#assertThat AspectJ's assertThat} instead
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
public JsonContentAssert assertThat() {
|
||||
return new JsonContentAssert(this.resourceLoadClass, this.json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user