Summary summary1 = new Summary();
Summary summary2 = new Summary();
assertFalse(summary1.equals(null));
assertFalse(summary1.equals(""));
assertTrue(summary1.equals(summary2));
summary1.add(new Fragment("text fragment"));
assertFalse(summary1.equals(summary2));
summary2.add(new Fragment("text fragment"));
assertTrue(summary1.equals(summary2));
summary1.add(new Ellipsis());
assertFalse(summary1.equals(summary2));
summary2.add(new Ellipsis());
assertTrue(summary1.equals(summary2));
summary1.add(new Highlight("highlight"));
assertFalse(summary1.equals(summary2));
summary2.add(new Highlight("highlight"));
assertTrue(summary1.equals(summary2));
summary1.add(new Fragment("text fragment"));
summary2.add(new Fragment("fragment text"));
assertFalse(summary1.equals(summary2));
}