def METHOD_NAME(self):
    recv = mitogen.core.Receiver(self.router)
    def on_start(econtext):
        sender = mitogen.core.Sender(econtext.parent, recv.handle)
        sender.send(123)
    context = self.router.fork(on_start=on_start)
    self.assertEqual(123, recv.get().unpickle())