/**
  * @test
  * @dataProvider provide_envelope_command_map
  */
 public function it_should_transform_envelope_commands($amqpCommand, $envelope, $command)
 {
     $this->transformer->shouldReceive('transformEnvelopeToCommand')->atLeast()->once()->with($envelope)->andReturn($command);
     $this->execute($this->middleware, $amqpCommand, $command);
 }