/**
  * @covers cymapgt\core\application\authentication\UserCredential\UserCredentialManager::getUdfEntropy
  */
 public function testGetUdfEntropy()
 {
     $udfEntropy = $this->object->getUdfEntropy();
     $this->assertInternalType('array', $udfEntropy);
     $this->assertEquals(5, count($udfEntropy));
     reset($udfEntropy);
     $this->assertEquals('min_pass_len', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('uppercase', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('lowercase', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('numeric', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('special', key($udfEntropy));
 }
 /**
  * @covers cymapgt\core\application\authentication\UserCredential\UserCredentialManager::getUdfEntropy
  */
 public function testGetUdfEntropy()
 {
     $udfEntropy = $this->object->getUdfEntropy();
     $this->assertInternalType('array', $udfEntropy);
     $this->assertEquals(7, count($udfEntropy));
     $this->assertEquals('min_pass_len', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('max_consecutive_chars', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('max_consecutive_chars_of_same_class', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('uppercase', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('lowercase', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('numeric', key($udfEntropy));
     next($udfEntropy);
     $this->assertEquals('special', key($udfEntropy));
 }