BAEL-1024 introduction to mock server (#2333)

* review changes

* BAEL-1024 Removed the proxy reference

* BAEL-1024 Renamed methods
This commit is contained in:
baljeet20 2017-07-30 01:50:14 +05:30 committed by maibin
parent fd6e7c51fc
commit 9f45d709db

View File

@ -28,13 +28,11 @@ import static org.mockserver.model.StringBody.exact;
public class MockServerLiveTest {
private static ClientAndProxy proxy;
private static ClientAndServer mockServer;
@BeforeClass
public static void startProxy() {
public static void startServer() {
mockServer = startClientAndServer(1080);
proxy = startClientAndProxy(1090);
}
@ -169,8 +167,7 @@ public class MockServerLiveTest {
}
@AfterClass
public static void stopProxy() {
proxy.stop();
public static void stopServer() {
mockServer.stop();
}
}