assertFalse("isBlock", tag.isBlock());
assertFalse("isPre", tag.isPreformatted());
}
public void testEqualsObject() {
Tag other = new UnknownTag(new String(tagName));
assertNotSame(tag.toString(), other.toString());
assertEquals(tag.toString(), other.toString());
assertTrue(other.equals(tag));
assertFalse(other.equals(tagName));
assertFalse(other.equals(Tag.A));
assertFalse(tag.equals(Tag.A));
other = new UnknownTag(Tag.A.toString());
assertSame(Tag.A.toString(), other.toString());
assertFalse(other.equals(Tag.A));
other = new UnknownTag("author");
assertFalse(tag.equals(other));
}