use of org.springframework.boot.test.web.client.MockServerRestTemplateCustomizer in project spring-boot by spring-projects.
the class CloudFoundrySecurityServiceTests method setup.
@Before
public void setup() throws Exception {
MockServerRestTemplateCustomizer mockServerCustomizer = new MockServerRestTemplateCustomizer();
RestTemplateBuilder builder = new RestTemplateBuilder(mockServerCustomizer);
this.securityService = new CloudFoundrySecurityService(builder, CLOUD_CONTROLLER, false);
this.server = mockServerCustomizer.getServer();
}
Aggregations