def METHOD_NAME():
    '''Test that invalid input to the constructor causes the expected
    exception to be raised.
    '''
    with pytest.raises(TypeError) as info:
        _ = OperatesOnMetadata(None)
    assert ("The 'OPERATES_ON' value should be of type str, but found "
            "'NoneType'." in str(info.value))