33import io .restassured .config .RestAssuredConfig ;
44import io .restassured .config .SSLConfig ;
55import org .apache .http .conn .ssl .SSLSocketFactory ;
6- import org .junit .Test ;
6+ import org .junit .jupiter . api . Test ;
77import org .mockserver .client .MockServerClient ;
88import org .mockserver .configuration .Configuration ;
99import org .mockserver .logging .MockServerLogger ;
1515import static org .mockserver .model .HttpRequest .request ;
1616import static org .mockserver .model .HttpResponse .response ;
1717
18- public class MockServerContainerTest {
18+ class MockServerContainerTest {
1919
2020 public static final DockerImageName MOCKSERVER_IMAGE = DockerImageName
2121 .parse ("mockserver/mockserver" )
2222 .withTag ("mockserver-" + MockServerClient .class .getPackage ().getImplementationVersion ());
2323
2424 @ Test
25- public void shouldCallActualMockserverVersion () throws Exception {
25+ void shouldCallActualMockserverVersion () throws Exception {
2626 try (MockServerContainer mockServer = new MockServerContainer (MOCKSERVER_IMAGE )) {
2727 mockServer .start ();
2828
@@ -41,7 +41,7 @@ public void shouldCallActualMockserverVersion() throws Exception {
4141 }
4242
4343 @ Test
44- public void shouldCallMockserverUsingTlsProtocol () throws Exception {
44+ void shouldCallMockserverUsingTlsProtocol () throws Exception {
4545 try (MockServerContainer mockServer = new MockServerContainer (MOCKSERVER_IMAGE )) {
4646 mockServer .start ();
4747
@@ -63,7 +63,7 @@ public void shouldCallMockserverUsingTlsProtocol() throws Exception {
6363 }
6464
6565 @ Test
66- public void shouldCallMockserverUsingMutualTlsProtocol () throws Exception {
66+ void shouldCallMockserverUsingMutualTlsProtocol () throws Exception {
6767 try (
6868 MockServerContainer mockServer = new MockServerContainer (MOCKSERVER_IMAGE )
6969 .withEnv ("MOCKSERVER_TLS_MUTUAL_AUTHENTICATION_REQUIRED" , "true" )
@@ -88,7 +88,7 @@ public void shouldCallMockserverUsingMutualTlsProtocol() throws Exception {
8888 }
8989
9090 @ Test
91- public void newVersionStartsWithDefaultWaitStrategy () {
91+ void newVersionStartsWithDefaultWaitStrategy () {
9292 try (MockServerContainer mockServer = new MockServerContainer (MOCKSERVER_IMAGE )) {
9393 mockServer .start ();
9494 }
0 commit comments