/** * @covers Gloubster\Message\Job\AbstractJob::setError * @covers Gloubster\Message\Job\AbstractJob::isOnError */ public function testSetError() { $this->assertFalse($this->object->isOnError()); $this->object->setError(true); $this->assertTrue($this->object->isOnError()); }