public function testGenDetect1602() { $this->object->setFirstName('Златоуста'); $this->object->setSecondName('Яшина'); $this->assertEquals('2-Златоуста Яшина', $this->object->genderAutoDetect() . '-Златоуста Яшина'); }
public function testGenDetect2021() { $this->object->setSecondName('Яшина'); $this->assertEquals('2-Яшина', $this->object->genderAutoDetect() . '-Яшина'); }
public function test2() { $this->object->setSecondName('Касюк'); $this->object->setGender(1); $this->assertEquals('Касюка', $this->object->getSecondNameCase(1)); }
public function testWomanSirname984() { $this->object->setSecondName('Яшина'); $this->object->setGender(2); $this->assertEquals(explode(',', 'Яшина,Яшиной,Яшиной,Яшину,Яшиной,Яшиной'), $this->object->getSecondNameCase()); }
public function testManSirname740() { $this->object->setSecondName('Яшин'); $this->object->setGender(1); $this->assertEquals(explode(',', 'Яшин,Яшина,Яшинові,Яшина,Яшином,Яшинові,Яшине'), $this->object->getSecondNameCase()); }
public function testGenDetect2019() { $this->object->setFirstName('Елизавета'); $this->object->setSecondName('Яшина'); $this->assertEquals('2-Елизавета Яшина', $this->object->genderAutoDetect() . '-Елизавета Яшина'); }