/** * @testdox Allows setting the status of a job posting * @covers Jobs\Entity\Job::changeStatus * @dataProvider provideStatus */ public function testChangeStatus($input, $expected) { $status = new Status($input); $msg = "this is the message"; $this->target->changeStatus($status, $msg); $this->assertEquals($this->target->getStatus(), $expected); }