Uses of Class
org.springframework.boot.test.web.client.TestRestTemplate
-
Uses of TestRestTemplate in org.springframework.boot.test.web.client
Modifier and TypeMethodDescriptionTestRestTemplate.withBasicAuth
(String username, String password) Creates a newTestRestTemplate
with the same configuration as this one, except that it will send basic authorization headers using the givenusername
andpassword
.