object = new NCLNameCaseUa; } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } public function testSplDetect0() { $this->assertEquals('F-Олександрович', trim($this->object->getFullNameFormat('Олександрович')).'-Олександрович'); } public function testSplDetect1() { $this->assertEquals('F-Миколайович', trim($this->object->getFullNameFormat('Миколайович')).'-Миколайович'); } public function testSplDetect2() { $this->assertEquals('F-Кузьмич', trim($this->object->getFullNameFormat('Кузьмич')).'-Кузьмич'); } public function testSplDetect3() { $this->assertEquals('F-Петрович', trim($this->object->getFullNameFormat('Петрович')).'-Петрович'); } public function testSplDetect4() { $this->assertEquals('F-Ілліч', trim($this->object->getFullNameFormat('Ілліч')).'-Ілліч'); } public function testSplDetect5() { $this->assertEquals('F-Василівна', trim($this->object->getFullNameFormat('Василівна')).'-Василівна'); } public function testSplDetect6() { $this->assertEquals('F-Антонівна', trim($this->object->getFullNameFormat('Антонівна')).'-Антонівна'); } public function testSplDetect7() { $this->assertEquals('F-Яківна', trim($this->object->getFullNameFormat('Яківна')).'-Яківна'); } }