def METHOD_NAME(self):
    # Create new instance from class data
    po = mapscript.pointObj(self.point_xy[0], self.point_xy[1])
    lo = mapscript.lineObj()
    lo.add(po)
    so = mapscript.shapeObj(mapscript.MS_SHAPE_POINT)
    so.add(lo)
    # test output WKT
    wkt = so.toWKT()
    self.assertTrue(wkt == self.point_wkt, wkt)