Injector testInjector = Guice.createInjector(buildTestModule(icMaster));
final MyTestCase injected = testInjector.getInstance(MyTestCase.class);
addTearDown(new TearDown() {
public void tearDown() throws Exception {
injected.myEnumIc.resetOverride();
}
});
addTearDown(new TearDown() {
public void tearDown() throws Exception {
injected.myGenericClassOfMyEnumIc.resetOverride();
}
});