@Test
public void testParseSquare() throws Exception {

    PathParser.parse("M10,10H90V90H10L10,10", path);
    //draw square
    verify(path, times(1)).moveTo(10.0f, 10.0f);
    verify(path).lineTo(90.0f, 10.0f);
    verify(path).lineTo(90.0f, 90.0f);
    verify(path).lineTo(10.0f, 90.0f);
    verify(path).lineTo(10.0f, 10.0f);
}