'Test the various kinds of inputs L{nameToLabel} supports.'

def test_nameToLabel(self):

    nameData = [('f', 'F'), ('fo', 'Fo'), ('foo', 'Foo'), ('fooBar', 'Foo    Bar'), ('fooBarBaz', 'Foo    Bar    Baz')]
    for (inp, out) in nameData:
        got = util.nameToLabel(inp)
        self.assertEqual(got, out, ('nameToLabel(%r)    ==    %r    !=    %r' % (inp, got, out)))
