Esempio n. 1
0
 public function testHasRoutingInformationReturnsTrueWhenRoutingInformationIsPresent()
 {
     $msg = new Message(array('worker1', '', 'hello', 'world'));
     $this->assertTrue($msg->hasRoutingInformation());
     $msg = new Message(array('worker1', 'dealer1', '', 'hello', 'world'));
     $this->assertTrue($msg->hasRoutingInformation());
 }