@Test
public void testParseCurve() throws Exception {

    PathParser.parse("C150,150,180,80,100,120c30,100,40,100,30,90", path);
    //draw curve
    verify(path).cubicTo(150.0f, 150.0f, 180.0f, 80.0f, 100.0f, 120.0f);
    verify(path).cubicTo(130.0f, 220.0f, 140.0f, 220.0f, 130.0f, 210.0f);
}