'Call an asynchronous method of a L{util.LocalAsRemote} object and check
the result.'

def test_async(self):

    o = LocalRemoteTest()
    o = LocalRemoteTest()
    d = o.callRemote('add', 2, y=4)
    self.assertIsInstance(d, Deferred)
    d.addCallback(self.assertEqual, 6)
    return d
