def METHOD_NAME():
    '''Test that the setter raises the expected exceptions.'''
    values = [ScalarArgMetadata("GH_REAL", "GH_READ"),
              FieldVectorArgMetadata("GH_REAL", "GH_WRITE", "W0", "3")]
    metadata = MetaArgsMetadata(values)
    with pytest.raises(TypeError) as info:
        metadata.meta_args_args = "invalid"
    assert ("MetaArgsMetadata values should be provided as a list but found "
            "'str'." in str(info.value))
    with pytest.raises(TypeError) as info:
        metadata.meta_args_args = []
    assert ("The MetaArgsMetadata list should contain at least one entry, "
            "but it is empty." in str(info.value))
    with pytest.raises(TypeError) as info:
        metadata.meta_args_args = [None]
    assert ("The MetaArgsMetadata list should be a list containing objects "
            "of type CommonMetaArgMetadata but found 'None', which is of "
            "type 'NoneType'." in str(info.value))
    with pytest.raises(TypeError) as info:
        metadata.meta_args_args = ["invalid"]
    assert ("The MetaArgsMetadata list should be a list containing objects "
            "of type CommonMetaArgMetadata but found 'invalid', which is of "
            "type 'str'." in str(info.value))