/** * @test */ public function it_should_pass_trough_none_amqp_commands() { $this->transformer->shouldNotReceive('transformEnvelopeToCommand'); $command = new \stdClass(); $this->execute($this->middleware, $command, $command); }