def METHOD_NAME():
    '''Test that the reference element setter and getter work as expected,
    including raising an exception if the value is invalid.
    '''
    mesh_arg = MetaMeshArgMetadata("adjacent_face")
    with pytest.raises(ValueError) as info:
        mesh_arg.mesh = "invalid"
    assert ("The 'mesh property' metadata should be a recognised value (one "
            "of ['adjacent_face']) but found 'invalid'." in str(info.value))
    mesh_arg.mesh = "adjacent_face"
    assert mesh_arg.mesh == "adjacent_face"