use of com.thoughtworks.go.agent.common.ssl.GoAgentServerHttpClient in project gocd by gocd.
the class SslInfrastructureServiceTest method httpClientStub.
private GoAgentServerHttpClient httpClientStub() {
final GoAgentServerHttpClient client = context.mock(GoAgentServerHttpClient.class);
context.checking(new Expectations() {
{
try {
allowing(client).reset();
} catch (Exception e) {
throw bomb(e);
}
}
});
return client;
}
Aggregations