public function __toString() { return $this->abbr->getWrappedName($this->name); }
public function testDistrictAbbr() { $abbr = new Abbreviation('р-н'); $this->assertEquals('Пушкинский район', $abbr->getWrappedName(' Пушкинский ')); }