constructor plumbing for junit super(name);
super(name);
setup method d1 = Singleton.getInstance(); d2 = Singleton.getInstance();
d1 = Singleton.getInstance(); d2 = Singleton.getInstance();
assertTrue(d1 instanceof Singleton);
assertEquals(d1.demoMethod(), "demo");
assertTrue(d1 == d2);