use of com.sequenceiq.environment.api.v1.proxy.model.response.ProxyResponses in project cloudbreak by hortonworks.
the class EnvironmentServiceIntegrationTest method testProxyList.
@Test
public void testProxyList() {
proxyConfigRepository.save(getProxyConfig());
ProxyResponses results = client.proxyV1Endpoint().list();
assertTrue(results.getResponses().stream().anyMatch(proxyResponse -> proxyResponse.getName().equals(getProxyConfig().getName())), String.format("Result set should have proxy with name: %s", getProxyConfig().getName()));
}
Aggregations