public function testToArray() { $array = ['Expression' => 'Word', 'Term' => 'phrase']; $this->assertEquals($array, $this->word->toArray()); }