'L{usage.flagFunction} raises L{usage.UsageError} if the method checked
allows more than one argument.'

def test_tooManyArguments(self):

    exc = self.assertRaises(usage.UsageError, usage.flagFunction, self.SomeClass().manyArgs)
    self.assertEqual('Invalid    Option    function    for    manyArgs', str(exc))
