// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static void closeJadler() {
//     final StubHttpServerManager serverManager = jadlerMockerContainer.get();
//     if (serverManager != null && serverManager.isStarted()) {
//         serverManager.close();
//     }
// 
//     jadlerMockerContainer.set(null);
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static OngoingConfiguration initJadler() {
//     return initInternal(new JadlerMocker(getJettyServer()));
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static RequestStubbing onRequest() {
//     checkInitialized();
//     return jadlerMockerContainer.get().onRequest();
// }
// 
// Path: jadler-all/src/test/java/net/jadler/utils/TestUtils.java
// public static String jadlerUri() {
//     return "http://localhost:" + port();
// }
// 
// Path: jadler-all/src/test/java/net/jadler/utils/TestUtils.java
// public static byte[] rawBodyOf(final HttpResponse response) throws IOException {
//     return IOUtils.toByteArray(response.getEntity().getContent());
// }


import org.apache.http.HttpResponse;
import org.apache.http.client.fluent.Executor;
import org.apache.http.client.fluent.Request;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.Charset;
import static net.jadler.Jadler.closeJadler;
import static net.jadler.Jadler.initJadler;
import static net.jadler.Jadler.onRequest;
import static net.jadler.utils.TestUtils.jadlerUri;
import static net.jadler.utils.TestUtils.rawBodyOf;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
/*
 * Copyright (c) 2012 - 2016 Jadler contributors
 * This program is made available under the terms of the MIT License.
 */
package net.jadler;





/**
 * Test suite for response super defaults (default response status and encoding values used when not defined at all).
 */
public class SuperDefaultsIntegrationTest {

    private static final String STRING_WITH_DIACRITICS = "\u00e1\u0159\u017e";

    @AfterClass
    public static void cleanup() {
        Executor.closeIdleConnections();
    }

    @Before
    public void setUp() {
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static void closeJadler() {
//     final StubHttpServerManager serverManager = jadlerMockerContainer.get();
//     if (serverManager != null && serverManager.isStarted()) {
//         serverManager.close();
//     }
// 
//     jadlerMockerContainer.set(null);
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static OngoingConfiguration initJadler() {
//     return initInternal(new JadlerMocker(getJettyServer()));
// }
// 
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static RequestStubbing onRequest() {
//     checkInitialized();
//     return jadlerMockerContainer.get().onRequest();
// }
// 
// Path: jadler-all/src/test/java/net/jadler/utils/TestUtils.java
// public static String jadlerUri() {
//     return "http://localhost:" + port();
// }
// 
// Path: jadler-all/src/test/java/net/jadler/utils/TestUtils.java
// public static byte[] rawBodyOf(final HttpResponse response) throws IOException {
//     return IOUtils.toByteArray(response.getEntity().getContent());
// }


// Path: jadler-all/src/test/java/net/jadler/SuperDefaultsIntegrationTest.java
import org.apache.http.HttpResponse;
import org.apache.http.client.fluent.Executor;
import org.apache.http.client.fluent.Request;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.nio.charset.Charset;
import static net.jadler.Jadler.closeJadler;
import static net.jadler.Jadler.initJadler;
import static net.jadler.Jadler.onRequest;
import static net.jadler.utils.TestUtils.jadlerUri;
import static net.jadler.utils.TestUtils.rawBodyOf;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

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





/**
 * Test suite for response super defaults (default response status and encoding values used when not defined at all).
 */
public class SuperDefaultsIntegrationTest {

    private static final String STRING_WITH_DIACRITICS = "\u00e1\u0159\u017e";

    @AfterClass
    public static void cleanup() {
        Executor.closeIdleConnections();
    }

    @Before
    public void setUp() {
        initJadler(); //no defaults for the response status nor encoding set here