public function testCancel() { $this->connection->cancelJob(Argument::any())->willReturn([])->shouldBeCalledTimes(1); $job = $this->getJob($this->connection); $this->assertNull($job->cancel()); }