public function testGetArray() { $arr = TestEnum::getArray(); $this->assertArrayHasKey('1st', $arr); $this->assertArrayHasKey('2nd', $arr); $this->assertArrayHasKey('3rd', $arr); $this->assertEquals($arr['1st'], "The First One"); $this->assertEquals($arr['2nd'], "The Second One"); $this->assertEquals($arr['3rd'], "The Third One"); }