/**
  * @covers josegonzalez\Queuesadilla\Engine\MemoryEngine::__construct
  */
 public function testConstruct()
 {
     $Engine = new MemoryEngine($this->Logger, []);
     $this->assertNotNull($Engine->connection());
     $Engine = new MemoryEngine($this->Logger, $this->url);
     $this->assertNotNull($Engine->connection());
     $Engine = new MemoryEngine($this->Logger, $this->config);
     $this->assertNotNull($Engine->connection());
 }
 /**
  * {@inheritDoc}
  */
 public function push($class, $args = [], $options = [])
 {
     parent::push($class, $args, $options);
     $worker = $this->getWorker();
     return $worker->work();
 }