@Test
public void testToString() throws Exception {

    TextOutline outline = new TextOutline("Cl", font);
    Rectangle2D bounds = outline.getBounds();
    assertThat(outline.toString(), is("Cl [x=" + toString(bounds.getX()) + ", y=" + toString(bounds.getY())
            + ", w=" + toString(bounds.getWidth()) + ", h=" + toString(bounds.getHeight()) + "]"));
}