final BaseMPSModuleOwner moduleOwner = new BaseMPSModuleOwner();
final Solution solution = new CreateSolution(repository, moduleOwner).execute();
l.checkModuleEvents(1, 0, 0);
new RemoveModule(repository, solution, moduleOwner).execute();
l.checkModuleEvents(1, 1, 1);
<BUG>detach(MPSModuleRepository.getInstance(), l);
l.checkModuleEvents(1, 1, 1);</BUG>
closeProject();
}
@Test

final BaseMPSModuleOwner moduleOwner = new BaseMPSModuleOwner();
final Solution solution = new CreateSolution(repository, moduleOwner).execute();
l.checkModuleEvents(1, 0, 0);
new RemoveModule(repository, solution, moduleOwner).execute();
l.checkModuleEvents(1, 1, 1);
detach(project.getRepository(), l);
l.checkModuleEvents(1, 1, 1);
closeProject();
}
@Test
