/** * @covers EpisodeStatus::getList */ public function testGetList() { $expected = array(1 => 'New', 2 => 'Under investigation', 3 => 'Listed/booked', 4 => 'Post-op', 5 => 'Follow-up', 6 => 'Discharged'); $result = $this->model->getList(); $this->assertEquals($expected, $result); }