PolyNode { public boolean isHole() { return isHoleNode(); }  void addChild( PolyNode child ); int getChildCount(); List<PolyNode> getChilds(); List<Point.LongPoint> getContour(); EndType getEndType(); JoinType getJoinType(); PolyNode getNext(); PolyNode getParent(); Path getPolygon(); boolean isHole(); boolean isOpen(); void setEndType( EndType value ); void setJoinType( JoinType value ); void setOpen( boolean isOpen ); void setParent( PolyNode n );  }
@Test public void isHoleTest() { PolyNode node = new PolyNode(); Assert.assertTrue(node.isHole()); }