'Test that attempting to call a method which is not defined correctly
results in an AttributeError on the calling side.'

def test_noSuchMethodFailure(self):

    def failureNoSuch(fail):
        fail.trap(pb.NoSuchMethod)
        self.compare(fail.traceback, 'Traceback    unavailable\n')
        return 42000
    return self._testImpl('nosuch', 42000, failureNoSuch, AttributeError)
