Hackzilla\PasswordGenerator\Tests\Generator\DummyPasswordGeneratorTest::testGeneratePassword PHP Метод

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

public testGeneratePassword ( $length, $password )
$length
$password
    public function testGeneratePassword($length, $password)
    {
        $this->_object->setOptionValue(DummyPasswordGenerator::OPTION_LENGTH, $length);
        $this->assertSame($this->_object->generatePassword(), $password);
    }