Commit fa574910 authored by Priyanshi's avatar Priyanshi Committed by Andy Wilkinson

Deprecate JsonContent.assertThat()

See gh-9678
parent d62c26c9
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment