def METHOD_NAME(self):
    input_location = os.path.join(tests_resource, "shapefiles/polyline")
    spatial_rdd = ShapefileReader.readToLineStringRDD(self.sc, input_location)
    geometry_rdd = ShapefileReader.readToGeometryRDD(self.sc, input_location)
    window = Envelope(-180.0, 180.0, -90.0, 90.0)
    count = RangeQuery.SpatialRangeQuery(spatial_rdd, window, False, False).count()
    assert spatial_rdd.rawSpatialRDD.count() == count
    assert 'org.apache.sedona.core.spatialRDD.SpatialRDD' in geometry_rdd._srdd.toString()
    assert 'org.apache.sedona.core.spatialRDD.LineStringRDD' in spatial_rdd._srdd.toString()