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