// Path: core/src/main/java/com/liveperson/ephemerals/Ephemeral.java
// public interface Ephemeral<T> {
// 
//     T get();
// 
//     void destroy();
// 
// }


import com.liveperson.ephemerals.Ephemeral;
import org.junit.rules.ExternalResource;
package com.liveperson.ephemerals.junit;


/**
 * Created by waseemh on 9/21/16.
 */
public class EphemeralResource<T> extends ExternalResource {

    private Ephemeral<T> ephemeral;

// Path: core/src/main/java/com/liveperson/ephemerals/Ephemeral.java
// public interface Ephemeral<T> {
// 
//     T get();
// 
//     void destroy();
// 
// }


// Path: core/src/main/java/com/liveperson/ephemerals/junit/EphemeralResource.java
import com.liveperson.ephemerals.Ephemeral;
import org.junit.rules.ExternalResource;

package com.liveperson.ephemerals.junit;


/**
 * Created by waseemh on 9/21/16.
 */
public class EphemeralResource<T> extends ExternalResource {

    private Ephemeral<T> ephemeral;

    public EphemeralResource(Ephemeral ephemeral) {