public function testToArray() { $arr = $this->_List->toArray(); $this->assertTrue(\is_array($arr)); $this->assertCount(5, $arr); $this->assertEquals('hello', $arr[0]); }