// Path: testing/src/main/java/org/pac4j/jax/rs/rules/ContainerRule.java
// public interface ContainerRule extends TestRule, TestConfig {
// 
//     WebTarget getTarget(String url);
// 
//     String cookieName();
// 
//     default Set<Class<?>> getResources() {
//         return Sets.newLinkedHashSet(TestResource.class, TestClassLevelResource.class, TestProxyResource.class);
//     }
// }


import static org.assertj.core.api.Assertions.assertThat;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import org.junit.Rule;
import org.junit.Test;
import org.pac4j.jax.rs.rules.ContainerRule;
import org.slf4j.bridge.SLF4JBridgeHandler;
package org.pac4j.jax.rs;




/**
 *
 * @author Victor Noel - Linagora
 * @since 1.0.0
 *
 */
public abstract class AbstractTest {

    static {
        SLF4JBridgeHandler.removeHandlersForRootLogger();
        SLF4JBridgeHandler.install();

        // Logger.getLogger("org.glassfish").setLevel(Level.FINEST);
    }

    @Rule
    public ContainerRule container = createContainer();

// Path: testing/src/main/java/org/pac4j/jax/rs/rules/ContainerRule.java
// public interface ContainerRule extends TestRule, TestConfig {
// 
//     WebTarget getTarget(String url);
// 
//     String cookieName();
// 
//     default Set<Class<?>> getResources() {
//         return Sets.newLinkedHashSet(TestResource.class, TestClassLevelResource.class, TestProxyResource.class);
//     }
// }


// Path: testing/src/main/java/org/pac4j/jax/rs/AbstractTest.java
import static org.assertj.core.api.Assertions.assertThat;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import org.junit.Rule;
import org.junit.Test;
import org.pac4j.jax.rs.rules.ContainerRule;
import org.slf4j.bridge.SLF4JBridgeHandler;

package org.pac4j.jax.rs;




/**
 *
 * @author Victor Noel - Linagora
 * @since 1.0.0
 *
 */
public abstract class AbstractTest {

    static {
        SLF4JBridgeHandler.removeHandlersForRootLogger();
        SLF4JBridgeHandler.install();

        // Logger.getLogger("org.glassfish").setLevel(Level.FINEST);
    }

    @Rule
    public ContainerRule container = createContainer();

    protected abstract ContainerRule createContainer();