public function testExists()
{
$this->connection->getJob(Argument::any())->shouldBeCalledTimes(1)->willReturn([]);
$job = $this->getJob($this->connection);
$snippet = $this->snippetFromMethod(Job::class, 'exists');
$snippet->addLocal('job', $job);
$res = $snippet->invoke('job');
$this->assertEquals(true, $res->output());
}