Improve documentation of when TestRestTemplate is auto-configured

Closes gh-6729
This commit is contained in:
Andy Wilkinson
2016-08-23 15:48:40 +01:00
parent 9e2dcbbe96
commit 5a1741e2e8
2 changed files with 6 additions and 4 deletions

View File

@@ -55,7 +55,8 @@ import org.springframework.web.context.WebApplicationContext;
* {@link WebEnvironment#DEFINED_PORT defined} or {@link WebEnvironment#RANDOM_PORT
* random} port.</li>
* <li>Registers a {@link org.springframework.boot.test.web.client.TestRestTemplate
* TestRestTemplate} bean for use in web tests.</li>
* TestRestTemplate} bean for use in web tests that are using a fully running container
* </li>
* </ul>
*
* @author Phillip Webb