public function testPersonaFullName() { $persona = new Persona(Persona::GENDER_MALE, ['surname' => 'Ivanov', 'firstName' => 'Ivan', 'patronym' => 'Ivanovich']); $schemeConfig = ['default' => ['surname' => [], 'firstName' => [], 'patronym' => []]]; $scheme = new NamingScheme('fio', $schemeConfig); $this->assertEquals('Ivanov Ivan Ivanovich', $persona->getFullName($scheme)); }