Deprecate JsonContent.assertThat()

See gh-9678
pull/9828/merge
Priyanshi 7 years ago committed by Andy Wilkinson
parent d62c26c971
commit fa57491030

@ -52,7 +52,11 @@ public final class JsonContent<T> implements AssertProvider<JsonContentAssert> {
this.json = json; this.json = json;
} }
/**
* Use {@link org.assertj.core.api.Assertions#assertThat AspectJ's assertThat} instead
*/
@Override @Override
@Deprecated
public JsonContentAssert assertThat() { public JsonContentAssert assertThat() {
return new JsonContentAssert(this.resourceLoadClass, this.json); return new JsonContentAssert(this.resourceLoadClass, this.json);
} }

Loading…
Cancel
Save