public function testGeneratePassword($length)
{
$this->_object->setOptionValue(ComputerPasswordGenerator::OPTION_UPPER_CASE, true)->setOptionValue(ComputerPasswordGenerator::OPTION_LOWER_CASE, true)->setOptionValue(ComputerPasswordGenerator::OPTION_NUMBERS, true)->setOptionValue(ComputerPasswordGenerator::OPTION_SYMBOLS, true)->setOptionValue(ComputerPasswordGenerator::OPTION_AVOID_SIMILAR, true);
$this->_object->setLength($length);
$this->assertSame(\strlen($this->_object->generatePassword()), $length);
}