def METHOD_NAME():
    '''Tests useful error messages are provided if a tuple is provided that
    is out of bounds.
    '''
    component_indices = ComponentIndices([["a", "b"], ["c"]])
    with pytest.raises(IndexError) as err:
        _ = component_indices[(2, 0)]
    assert "First index (2) of (2, 0) is out of range." in str(err.value)
    with pytest.raises(IndexError) as err:
        _ = component_indices[(1, 2)]
    assert "Second index (2) of (1, 2) is out of range." in str(err.value)
    with pytest.raises(IndexError) as err:
        _ = component_indices[(-1, 0)]
    assert "First index (-1) of (-1, 0) is out of range." in str(err.value)
    with pytest.raises(IndexError) as err:
        _ = component_indices[(1, -1)]
    assert "Second index (-1) of (1, -1) is out of range." in str(err.value)