assertFalse(singletonOne.uses(singletonUserOne));
assertTrue(singletonUserOne.uses(singletonOne));
}
public void testStaticUsesOfSingletonsAreDetected() {
Flags flags = new Flags();
flags.setIgnoreHingletons(true);
flags.setIgnoreMingletons(true);
flags.setIgnoreFingletons(true);
detector =
new SingletonDetector(root, path, flags,
getAsmStyleClassName(SingletonOne.class),
getAsmStyleClassName(SingletonUserTwo.class));