/**
  * @test
  */
 public function updateNecessityForDecreasedHashcount()
 {
     $this->skipTestIfBlowfishIsNotAvailable();
     $password = '******';
     $saltedHashPassword = $this->objectInstance->getHashedPassword($password);
     $decreasedHashCount = $this->objectInstance->getHashCount() - 1;
     $this->objectInstance->setMinHashCount($decreasedHashCount);
     $this->objectInstance->setHashCount($decreasedHashCount);
     $this->assertFalse($this->objectInstance->isHashUpdateNeeded($saltedHashPassword));
     // reset hashcount
     $this->objectInstance->setHashCount(NULL);
 }