def METHOD_NAME(self):
    bad_multipolygon = geojson.MultiPolygon(
        [[(2.38, 57.322), (23.194, -20.28), (-120.43, 19.15), (2.38)]]
    )
    bad_feature = geojson.Feature(geometry=bad_multipolygon)
    bad_feature_collection = geojson.FeatureCollection([bad_feature])
    # Act / Assert
    with self.assertRaises(InvalidGeoJson):
        # Only geometries of type MultiPolygon are valid
        GridService.merge_to_multi_polygon(
            geojson.dumps(bad_feature_collection), dissolve=True
        )