// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static int port() {
//     checkInitialized();
//     return jadlerMockerContainer.get().getStubHttpServerPort();
// }


import org.apache.commons.io.IOUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ResponseHandler;
import java.io.IOException;
import static net.jadler.Jadler.port;
/*
 * Copyright (c) 2012 - 2016 Jadler contributors
 * This program is made available under the terms of the MIT License.
 */
package net.jadler.utils;





/**
 * Various handy functions and classes useful for testing.
 */
public class TestUtils {

    /**
     * An http response handler which retrieves just the response status code value.
     */
    public static final StatusRetriever STATUS_RETRIEVER = new StatusRetriever();

    /**
     * @return URI of the Jadler stub server
     */
    public static String jadlerUri() {
// Path: jadler-core/src/main/java/net/jadler/Jadler.java
// public static int port() {
//     checkInitialized();
//     return jadlerMockerContainer.get().getStubHttpServerPort();
// }


// Path: jadler-all/src/test/java/net/jadler/utils/TestUtils.java
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ResponseHandler;
import java.io.IOException;
import static net.jadler.Jadler.port;

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





/**
 * Various handy functions and classes useful for testing.
 */
public class TestUtils {

    /**
     * An http response handler which retrieves just the response status code value.
     */
    public static final StatusRetriever STATUS_RETRIEVER = new StatusRetriever();

    /**
     * @return URI of the Jadler stub server
     */
    public static String jadlerUri() {
        return "http://localhost:" + port();