public void canStartAndStopMultipleTimesWithNewProcess() {
// start server
HttpProxy httpProxy = new HttpProxyBuilder().withHTTPPort(serverPort).withHTTPSPort(serverSecurePort).build();
// start client
MockServerClient mockServerClient = new MockServerClient("localhost", serverPort);
for (int i = 0; i < 2; i++) {
// when
mockServerClient.stop();
// then
assertFalse(httpProxy.isRunning());
httpProxy = new HttpProxyBuilder().withHTTPPort(serverPort).withHTTPSPort(serverSecurePort).build();
assertTrue(httpProxy.isRunning());