AbsoluteLength implements Length { @Override public String toString() { return this.getValue(); } AbsoluteLength(final double mm); static AbsoluteLength mm(final double value); static AbsoluteLength cm(final double value); static AbsoluteLength in(final double value); static AbsoluteLength pt(final double value); static AbsoluteLength pc(final double value); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Override boolean isNotNull(); @Override String getValue();  }
@Test public void testToString() { Assert.assertEquals("3.881mm", AbsoluteLength.pt(OTHER_VALUE).toString()); Assert.assertEquals("3.528mm", AbsoluteLength.pt(VALUE).toString()); }