/**
  *@dataProvider inputUrbanWords
  */
 public function testUrbanWordConvertsSetPropertiesCorrectly($slang, $description, $sampleSentence)
 {
     $urbanword = new UrbanWord($slang, $description, $sampleSentence);
     $this->assertEquals(['slang' => $slang, 'description' => $description, 'sample‐sentence' => $sampleSentence], $urbanword->toArray());
     $urbanword->setSlang($slang . 'Set');
     $urbanword->setDescription($description . 'Set');
     $urbanword->setSampleSentence($sampleSentence . 'Set');
     $this->assertEquals(['slang' => $slang . 'Set', 'description' => $description . 'Set', 'sample‐sentence' => $sampleSentence . 'Set'], $urbanword->toArray());
 }
 /**
  * Adds a new word Using An Array.
  *
  * @param Pyjac\UrbanDictionary\UrbanWord $word
  * 
  * @throws Pyjac\UrbanDictionary\Exception\UrbanWordAlreadyExistException
  *
  * @return true
  */
 public function addUrbanWordObject(UrbanWord $word)
 {
     return $this->add($word->getSlang(), $word->toArray());
 }