def METHOD_NAME():
    '''Test that the setter raises the expected exceptions.'''
    shape_values = ["gh_evaluator", "gh_quadrature_face"]
    shapes_metadata = ShapesMetadata(shape_values)
    with pytest.raises(TypeError) as info:
        shapes_metadata.shapes = "invalid"
    assert ("ShapesMetadata values should be provided as a list but found "
            "'str'." in str(info.value))
    with pytest.raises(TypeError) as info:
        shapes_metadata.shapes = []
    assert ("The ShapesMetadata list should contain at least one entry, but "
            "it is empty." in str(info.value))
    with pytest.raises(TypeError) as info:
        shapes_metadata.shapes = [None]
    assert ("The ShapesMetadata list should be a list containing objects of "
            "type str but found 'None', which is of type 'NoneType'."
            in str(info.value))
    with pytest.raises(ValueError) as info:
        shapes_metadata.shapes = ["invalid"]
    assert ("The 'shape' metadata should be a recognised value (one of "
            "['gh_quadrature_xyoz', 'gh_quadrature_face', "
            "'gh_quadrature_edge', 'gh_evaluator']) but found 'invalid'."
            in str(info.value))