def METHOD_NAME(filename_shp):
    schema = {"geometry": "Point", "properties": properties}
    with fiona.open(
        filename_shp, "w", driver="ESRI Shapefile", schema=schema
    ) as collection:
        write_point(collection)
        write_point_3d(collection)
        write_null(collection)
        with pytest.raises(GeometryTypeValidationError):
            write_linestring(collection)
        with pytest.raises(GeometryTypeValidationError):
            write_invalid(collection)