Hackzilla\PasswordGenerator\Tests\Generator\RequirementPasswordGeneratorTest::testAvoidSimilar PHP Метод

testAvoidSimilar() публичный Метод

public testAvoidSimilar ( )
    public function testAvoidSimilar()
    {
        $this->_object->setParameter(RequirementPasswordGenerator::PARAMETER_UPPER_CASE, 'AB')->setParameter(RequirementPasswordGenerator::PARAMETER_SIMILAR, 'B')->setOptionValue(RequirementPasswordGenerator::OPTION_UPPER_CASE, true)->setOptionValue(RequirementPasswordGenerator::OPTION_AVOID_SIMILAR, true);
        $this->_object->setLength(4);
        $this->assertSame('AAAA', $this->_object->generatePassword());
    }