Exemplo n.º 1
0
 /**
  * @expectedException \Exception
  */
 public function testMuxNoRoutingKey()
 {
     // given
     $coll = new Collective($this->driver, $this->mapper, $this->routing);
     $coll->assimilate($this);
     $args = ["hello world", new Chan(null, $this->driver, $this->mapper), new Foo("bar")];
     $req2 = $this->buildRequest($args);
     $req = new Request();
     $req->setBody($req2->getBody());
     // when
     $resp = $coll->mux($req);
 }