com.manywho.sdk.test.MockFactory Maven / Gradle / Ivy
package com.manywho.sdk.test;
import org.glassfish.hk2.api.Factory;
public class MockFactory implements Factory {
private T instance;
public MockFactory(T instance) {
this.instance = instance;
}
@Override
public T provide() {
return instance;
}
@Override
public void dispose(T t) {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy