public function testClosureNotReturnTrue() { $this->runJob(['closure' => function () { return false; }]); $this->assertContains('ERROR: Closure did not return true! Returned:', $this->getLogContent()); }