# 06-testresttemplate-compiler-warnings  (Spring Boot 4.2.0, JDK 25.0.5.1)
$ javac -Xlint:deprecation -cp <module classpath> -d target/broken src/broken/UsesTestRestTemplate.java
src/broken/UsesTestRestTemplate.java:6: warning: [removal] TestRestTemplate in org.springframework.boot.resttestclient has been deprecated and marked for removal
	public String ping(TestRestTemplate rest) {
	                   ^
1 warning
exit: 0
