def METHOD_NAME(self):
    geom = self.spark.sql(
        """select st_geomFromWKT('LINESTRING (30 10, 10 30, 40 40)')"""
    ).collect()[0][0]
    assert type(geom) == LineString
    assert geom.wkt == LineString([(30, 10), (10, 30), (40, 40)]).wkt