def setUp(self):
self.sender = CollectingSender()<EOL>self.router = Router()<EOL>self.router.startReceivingBoxes(self.sender)<EOL>self.receiver = SomeReceiver()<EOL>self.route = self.router.bindRoute(self.receiver)<EOL>self.route.connectTo(u"<STR_LIT:foo>")<EOL>
Create sender, router, receiver, and route objects.