/** * @test */ public function takesAndReturnsCustomWritableDictionaryInstance() { $d = new Dictionary(); $d->addWord("Word"); $d->addSentence("<4>!"); $this->p->setDictionary($d); $this->assertEquals($d, $this->p->getDictionary()); }