// Path: jadler-jdk/src/main/java/net/jadler/stubbing/server/jdk/JdkStubHttpServer.java
// public class JdkStubHttpServer implements StubHttpServer {
// 
//     private final HttpServer server;
// 
//     public JdkStubHttpServer(final int port) {
//         isTrue(port >= 0, "port cannot be a negative number");
// 
//         try {
//             server = HttpServer.create(new InetSocketAddress(port), 0);
//         } catch (final IOException e) {
//             throw new JadlerException("Cannot create JDK server", e);
//         }
//     }
// 
//     public JdkStubHttpServer() {
//         this(0);
//     }
// 
//     @Override
//     public void registerRequestManager(final RequestManager ruleProvider) {
//         notNull(ruleProvider, "ruleProvider cannot be null");
//         server.createContext("/", new JdkHandler(ruleProvider));
//     }
// 
//     @Override
//     public void start() throws Exception {
//         server.start();
//     }
// 
//     @Override
//     public void stop() throws Exception {
//         server.stop(0);
//     }
// 
//     @Override
//     public int getPort() {
//         return server.getAddress().getPort();
//     }
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static OngoingConfiguration initJadlerUsing(final StubHttpServer server) {
//     return initInternal(new JadlerMocker(server));
// }


import static net.jadler.Jadler.initJadlerUsing;
import net.jadler.stubbing.server.jdk.JdkStubHttpServer;
import org.junit.BeforeClass;
/*
 * Copyright (c) 2012 - 2016 Jadler contributors
 * This program is made available under the terms of the MIT License.
 */
package net.jadler;



/**
 * Tests that it is possible to reset the {@link JdkStubHttpServer} implementation.
 */
public class ResetJDKIntegrationTest extends AbstractResetIntegrationTest {

    @BeforeClass
    public static void configureMocker() {
// Path: jadler-jdk/src/main/java/net/jadler/stubbing/server/jdk/JdkStubHttpServer.java
// public class JdkStubHttpServer implements StubHttpServer {
// 
//     private final HttpServer server;
// 
//     public JdkStubHttpServer(final int port) {
//         isTrue(port >= 0, "port cannot be a negative number");
// 
//         try {
//             server = HttpServer.create(new InetSocketAddress(port), 0);
//         } catch (final IOException e) {
//             throw new JadlerException("Cannot create JDK server", e);
//         }
//     }
// 
//     public JdkStubHttpServer() {
//         this(0);
//     }
// 
//     @Override
//     public void registerRequestManager(final RequestManager ruleProvider) {
//         notNull(ruleProvider, "ruleProvider cannot be null");
//         server.createContext("/", new JdkHandler(ruleProvider));
//     }
// 
//     @Override
//     public void start() throws Exception {
//         server.start();
//     }
// 
//     @Override
//     public void stop() throws Exception {
//         server.stop(0);
//     }
// 
//     @Override
//     public int getPort() {
//         return server.getAddress().getPort();
//     }
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static OngoingConfiguration initJadlerUsing(final StubHttpServer server) {
//     return initInternal(new JadlerMocker(server));
// }


// Path: jadler-all/src/test/java/net/jadler/ResetJDKIntegrationTest.java
import static net.jadler.Jadler.initJadlerUsing;
import net.jadler.stubbing.server.jdk.JdkStubHttpServer;
import org.junit.BeforeClass;

/*
 * Copyright (c) 2012 - 2016 Jadler contributors
 * This program is made available under the terms of the MIT License.
 */
package net.jadler;



/**
 * Tests that it is possible to reset the {@link JdkStubHttpServer} implementation.
 */
public class ResetJDKIntegrationTest extends AbstractResetIntegrationTest {

    @BeforeClass
    public static void configureMocker() {
        initJadlerUsing(new JdkStubHttpServer())