def testLookupFunction(self):
        self.assertTrue(self.publisher.lookupFunction("add"))
        self.assertTrue(self.publisher.lookupFunction("fail"))
        self.assertFalse(self.publisher.lookupFunction("foobar"))
Application.add() should raise an exception when command constructor is empty
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_soap.py/SOAPTestCase.testLookupFunction--crossover with--dataset/ETHPy150Open sdispater/cleo/tests/test_application.py/ApplicationTest.test_add_command_with_empty_constructor