Margins implements TagParameters { @Override public String toString() { return "Margins[top=" + this.top + ", right=" + this.right + ", bottom=" + this.bottom + ", left=" + this.left + ", all=" + this.all + "]"; } Margins(final Length all, final Length top, final Length right, final Length bottom,
            final Length left); boolean areVoid(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override boolean equals(final Object o); @Override String toString(); @Override int hashCode(); MarginsBuilder toBuilder();  }
@Test public final void testToString() { final Margins margins = new MarginsBuilder().top(MarginsTest.TEN_PT).right(SimpleLength.pt(11.0)) .bottom(SimpleLength.pt(12.0)).left(SimpleLength.pt(13.0)).build(); Assert.assertEquals("Margins[top=10pt, right=11pt, bottom=12pt, left=13pt, all=null]", margins.toString()); Assert.assertEquals("Margins[top=null, right=null, bottom=null, left=null, all=null]", new MarginsBuilder().build().toString()); }