Borders implements TagParameters { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (!(o instanceof Borders)) { return false; } final Borders other = (Borders) o; return EqualityUtil.equal(this.top, other.top) && EqualityUtil.equal(this.right, other.right) && EqualityUtil.equal(this.bottom, other.bottom) && EqualityUtil.equal(this.left, other.left) && EqualityUtil.equal(this.all, other.all); } Borders(final BorderAttribute all, final BorderAttribute top, final BorderAttribute right,
            final BorderAttribute bottom, final BorderAttribute left); boolean areVoid(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override boolean equals(final Object o); @Override String toString(); @Override int hashCode(); BordersBuilder toBuilder();  }
@Test public final void testEquals() { final Borders b1 = new BordersBuilder().all(this.a1).build(); final Borders b2 = new BordersBuilder().all(this.a2).build(); final Borders b3 = new BordersBuilder().all(this.a1).build(); Assert.assertNotEquals(b1, new Object()); Assert.assertNotEquals(null, b1); Assert.assertNotEquals("a", b1); Assert.assertNotEquals(b1, b2); Assert.assertEquals(b1, b1); Assert.assertEquals(b1, b3); }