\r
\r
import static org.hamcrest.MatcherAssert.assertThat;\r
-import static org.hamcrest.Matchers.any;\r
import static org.hamcrest.Matchers.equalTo;\r
\r
import java.util.HashMap;\r
import org.apache.http.client.methods.CloseableHttpResponse;\r
import org.apache.http.impl.client.CloseableHttpClient;\r
import org.apache.http.impl.client.HttpClients;\r
-import org.easymock.EasyMock;\r
-import org.hamcrest.Matchers;\r
import org.junit.Before;\r
import org.junit.Rule;\r
import org.junit.Test;\r
public void testEngineService_closeHttpClient_ok() throws Exception {\r
PowerMock.resetAll();\r
CloseableHttpClient closeableHttpClient = HttpsUtils\r
- .getHttpClient(HttpsUtils.DEFUALT_TIMEOUT);\r
+ .getConditionalHttpsClient(HttpsUtils.DEFUALT_TIMEOUT);\r
Whitebox.invokeMethod(engineService, "closeHttpClient", closeableHttpClient);\r
}\r
\r