예제 #1
0
 public function testPrependRoutingInformationWithExistingRouting()
 {
     $msg = new Message(array('worker1', '', 'hello', 'world'));
     $msg->stripRoutingInformation();
     $msg->prependRoutingInformation(array('dealer1'));
     $this->assertSame(array('dealer1', '', 'worker1'), $msg->getRoutingInformation());
 }