@Test
public void testToString() {

    ChemObjectDifference diff = new ChemObjectDifference("AtomTypeDiff");
    String diffString = diff.toString();
    Assert.assertNotNull(diffString);
    Assert.assertEquals(0, diffString.length());
    diff.addChild(StringDifference.construct("Foo", "bar", "bar1"));
    diffString = diff.toString();
    Assert.assertNotNull(diffString);
    assertOneLiner(diffString);
    assertContains(diffString, "AtomTypeDiff");
    assertContains(diffString, "{");
    assertContains(diffString, "}");
}