assertFalse(fragment.equals(new Highlight("fragment text")));
}
/** Test of <code>Highlight</code> inner class */
public void testHighlight() {
Fragment fragment = new Highlight("highlight text");
assertEquals("highlight text", fragment.getText());
assertEquals("highlight text", fragment.toString());
assertFalse(fragment.isEllipsis());
assertTrue(fragment.isHighlight());
assertFalse(fragment.equals(new Fragment("fragment text")));
assertFalse(fragment.equals(new Ellipsis()));
assertFalse(fragment.equals(new Highlight("fragment text")));
assertTrue(fragment.equals(new Highlight("highlight text")));
}