BAEL-1024 introduction to mock server (#2333)
* review changes * BAEL-1024 Removed the proxy reference * BAEL-1024 Renamed methods
This commit is contained in:
parent
fd6e7c51fc
commit
9f45d709db
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user