public void testPrimitive() { assertEquals(BLUE_STR, blue.getName()); assertTrue(blue.contains(blue)); Marker blue2 = factory.getMarker(BLUE_STR); assertEquals(BLUE_STR, blue2.getName()); assertEquals(blue, blue2); assertTrue(blue.contains(blue2)); assertTrue(blue2.contains(blue)); }
public void testMultiCompositeByName() { assertTrue(multiComp.contains(COMP_STR)); assertTrue(multiComp.contains(BLUE_STR)); assertTrue(multiComp.contains(GREEN_STR)); assertFalse(multiComp.contains(RED_STR)); }
public void testMultiComposite() { assertTrue(multiComp.contains(comp)); assertTrue(multiComp.contains(blue)); assertTrue(multiComp.contains(green)); assertFalse(multiComp.contains(red)); }
public void testCompositeByName() { assertTrue(comp.contains(COMP_STR)); assertTrue(comp.contains(BLUE_STR)); }
public void testComposite() { assertTrue(comp.contains(comp)); assertTrue(comp.contains(blue)); }
public void testPrimitiveByName() { assertTrue(blue.contains(BLUE_STR)); }