@Test
public void testAddChild() {

    DifferenceClass diffClass = new DifferenceClass();
    diffClass.addChild(StringDifference.construct("Foo", "Bar1", "Bar2"));
    Assert.assertEquals(1, diffClass.childCount());
    diffClass.addChild(null);
    Assert.assertEquals(1, diffClass.childCount());
}