package junit3_tdtc.tutorial_0_basic;
import com.google.common.testing.junit3.TearDownTestCase;
import com.google.guiceberry.GuiceBerryModule;
import com.google.guiceberry.junit3.AutoTearDownGuiceBerry;
import com.google.inject.AbstractModule;
public class Example0HelloWorldTest extends TearDownTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
// Make this the call to AutoTearDownGuiceBerry.setUp as early as possible,
// though after TearDownTestCase's setUp.
AutoTearDownGuiceBerry.setUp(this, Env.class);
}
public void testNothing() throws Exception {
assertTrue(true);
}
public static final class Env extends AbstractModule {
@Override
protected void configure() {
install(new GuiceBerryModule());
}
}
}