public void testToString() { String expected1 = "[TmfEventType:" + TmfEventType.DEFAULT_TYPE_ID + "]"; TmfEventType type1 = new TmfEventType(); assertEquals("toString", expected1, type1.toString()); String expected2 = "[TmfEventType:" + fTypeId + "]"; TmfEventType type2 = new TmfEventType(fTypeId, fLabels); assertEquals("toString", expected2, type2.toString()); }