Skip to content

Commit 003fbb6

Browse files
committed
Merge branch '1.5.x'
2 parents 56b817e + b190a07 commit 003fbb6

File tree

1 file changed

+8
-0
lines changed
  • spring-boot-test/src/main/java/org/springframework/boot/test/json

1 file changed

+8
-0
lines changed

spring-boot-test/src/main/java/org/springframework/boot/test/json/JsonContent.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,15 @@ public JsonContent(Class<?> resourceLoadClass, ResolvableType type, String json)
5252
this.json = json;
5353
}
5454

55+
/**
56+
* Use AssertJ's {@link org.assertj.core.api.Assertions#assertThat assertThat}
57+
* instead.
58+
*
59+
* @deprecated in favor of AssertJ's {@link org.assertj.core.api.Assertions#assertThat
60+
* assertThat}
61+
*/
5562
@Override
63+
@Deprecated
5664
public JsonContentAssert assertThat() {
5765
return new JsonContentAssert(this.resourceLoadClass, this.json);
5866
}

0 commit comments

Comments
 (0)