/** * @expectedException \HumusAmqpModule\Exception\InvalidArgumentException */ public function testSettingInvalidMatchHeadersExchange() { $spec = new QueueSpecification(); $spec->setMatchHeadersExchange('foo'); }