@Test
    public void testMultiCompositeByName() {
        assertTrue(multiComp.contains(COMP_STR));
        assertTrue(multiComp.contains(BLUE_STR));
        assertTrue(multiComp.contains(GREEN_STR));
        assertFalse(multiComp.contains(RED_STR));
    }
Unit test BasicMarker

@author Ceki G&uuml;lc&uuml;
@author Joern Huxhorn
slf4j-api/src/test/java/org/slf4j/basicTests/BasicMarkerTest.java