/** * @testdox Allows setting the status of a job posting * @covers Jobs\Entity\Job::isDraft * @covers Jobs\Entity\Job::setIsDraft * @dataProvider provideSetGetDraftTestData */ public function testSetGetDraft($status, $expectedStatus) { $this->target->setIsDraft($status); $this->assertEquals($expectedStatus, $this->target->isDraft()); }