public function testToArray() { $arr = array('Expression' => 'Text', 'Term' => 'Lukas'); $this->assertEquals($arr, $this->text->toArray()); }