### Question:
AbstractTripletStructuredObject extends AbstractStructuredObject { public void addTriplets(Collection<AbstractTriplet> tripletCollection) { if (tripletCollection != null) { triplets.addAll(tripletCollection); } }  boolean hasTriplets(); boolean hasTriplet(byte tripletId); void addTriplet(AbstractTriplet triplet); void addTriplets(Collection<AbstractTriplet> tripletCollection); void setFullyQualifiedName(byte fqnType, byte fqnFormat, String fqName); void setFullyQualifiedName(byte fqnType, byte fqnFormat, String fqName, boolean utf16be); String getFullyQualifiedName(); void setObjectClassification(
            byte objectClass, ObjectType objectType,
            boolean dataInContainer, boolean containerHasOEG, boolean dataInOCD); void setComment(String commentString);  }### Answer:
@Test public void testAddTriplets() { List<AbstractTriplet> expectedList = TRIPLETS; emptyStructuredObject.addTriplets(expectedList); assertEquals(expectedList, emptyStructuredObject.getTriplets()); getSut().addTriplets(expectedList); List<AbstractTriplet> newExpected = new ArrayList<AbstractTriplet>(expectedList); newExpected.addAll(expectedList); assertEquals(newExpected, getSut().getTriplets()); emptyStructuredObject.addTriplets(null); }