Deprecate JsonContent.assertThat()

See gh-9678
This commit is contained in:
Priyanshi
2017-07-04 22:22:23 +05:30
committed by Andy Wilkinson
parent d62c26c971
commit fa57491030

View File

@@ -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);
}