@PrepareForTest(value={org.apache.http.impl.nio.client.CloseableHttpAsyncClient.class,LogUtils.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*","javax.net.ssl.*"}) public class IntegralServiceSpec_checkUrl extends Object
Modifier and Type | Class and Description |
---|---|
private class |
IntegralServiceSpec_checkUrl.TestHttpEntity |
Modifier and Type | Field and Description |
---|---|
private String |
expectedJson |
private org.apache.http.StatusLine |
testStatusLine |
Constructor and Description |
---|
IntegralServiceSpec_checkUrl() |
Modifier and Type | Method and Description |
---|---|
private IntegralAllResponse |
constructGraphOfPOJOs() |
void |
negativeFlow_integralClientSendFailed() |
void |
negativeFlow_throwNPEOnNullUrl() |
void |
negativeFlow_wrongJsonInResponse() |
void |
positiveFlow_correctJsonInResponse() |
private org.apache.http.StatusLine testStatusLine
private final String expectedJson
public void negativeFlow_throwNPEOnNullUrl()
public void negativeFlow_integralClientSendFailed()
public void negativeFlow_wrongJsonInResponse()
public void positiveFlow_correctJsonInResponse()
private IntegralAllResponse constructGraphOfPOJOs()