public function testPluralisation()
 {
     $words = ["church" => "churches", "goat" => "goats", "ship" => "ships", "company" => "companies", "fox" => "foxes", "grass" => "grasses"];
     foreach ($words as $singular => $plural) {
         $this->assertEquals($plural, StringTools::makePlural($singular));
     }
 }
 protected function getTitle()
 {
     if ($this->restModel !== null) {
         if ($this->restModel->isNewRecord()) {
             return "Adding a new " . strtolower(StringTools::wordifyStringByUpperCase(SolutionSchema::getModelNameFromClass(get_class($this->restModel)))) . " entry";
         } else {
             return ucfirst(strtolower(StringTools::wordifyStringByUpperCase(SolutionSchema::getModelNameFromClass(get_class($this->restModel)))) . " '" . $this->restModel->GetLabel() . "'");
         }
     } else {
         if ($this->restCollection !== null) {
             return StringTools::wordifyStringByUpperCase(StringTools::makePlural(SolutionSchema::getModelNameFromClass($this->restCollection->getModelClassName())));
         } else {
             return "Untitled";
         }
     }
 }