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