|
|
@ -118,6 +118,7 @@ import static org.hamcrest.CoreMatchers.notNullValue;
|
|
|
|
import static org.junit.Assert.fail;
|
|
|
|
import static org.junit.Assert.fail;
|
|
|
|
import static org.mockito.ArgumentMatchers.any;
|
|
|
|
import static org.mockito.ArgumentMatchers.any;
|
|
|
|
import static org.mockito.BDDMockito.given;
|
|
|
|
import static org.mockito.BDDMockito.given;
|
|
|
|
|
|
|
|
import static org.mockito.Mockito.atLeastOnce;
|
|
|
|
import static org.mockito.Mockito.inOrder;
|
|
|
|
import static org.mockito.Mockito.inOrder;
|
|
|
|
import static org.mockito.Mockito.mock;
|
|
|
|
import static org.mockito.Mockito.mock;
|
|
|
|
import static org.mockito.Mockito.verify;
|
|
|
|
import static org.mockito.Mockito.verify;
|
|
|
@ -619,8 +620,8 @@ public abstract class AbstractServletWebServerFactoryTests {
|
|
|
|
httpClient);
|
|
|
|
httpClient);
|
|
|
|
assertThat(getResponse(getLocalUrl("https", "/test.txt"), requestFactory))
|
|
|
|
assertThat(getResponse(getLocalUrl("https", "/test.txt"), requestFactory))
|
|
|
|
.isEqualTo("test");
|
|
|
|
.isEqualTo("test");
|
|
|
|
verify(sslStoreProvider).getKeyStore();
|
|
|
|
verify(sslStoreProvider, atLeastOnce()).getKeyStore();
|
|
|
|
verify(sslStoreProvider).getTrustStore();
|
|
|
|
verify(sslStoreProvider, atLeastOnce()).getTrustStore();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|