def setUp(self):
self.receiver = SomeReceiver()<EOL>self.sender = CollectingSender()<EOL>self.localName = u"<STR_LIT:foo>"<EOL>self.remoteName = u"<STR_LIT:bar>"<EOL>self.router = Router()<EOL>self.router.startReceivingBoxes(self.sender)<EOL>self.route = self.router.bindRoute(self.receiver, self.localName)<EOL>
Create a route attached to a stub sender.