public function it_can_read_a_command_from_the_queue()
{
$this->queueDriver->readCommand('test_queue', 'test_command_id')->willReturn('serialized');
$this->commandSerializer->unserialize('serialized')->willReturn('test_command');
$this->queueDriver->readCommand('test_queue', 'test_command_id')->shouldBeCalled();
$this->commandSerializer->unserialize('serialized')->shouldBeCalled();
$this->getCommand('test_queue', 'test_command_id')->shouldReturn('test_command');
$this->getCommand('test_queue', 'test_command_id');
}