'Check that a non existing method return error 500.'

def testMethodNotFound(self):

    d = self.proxy().callRemote('doesntexist')
    self.assertFailure(d, error.Error)
    def cb(err):
        self.assertEqual(int(err.status), 500)
    d.addCallback(cb)
    return d
