/**
  * @param \Aoe\FeloginBruteforceProtection\Domain\Model\Entry $entry
  * @return boolean
  */
 private function isRestrictionTimeReached(\Aoe\FeloginBruteforceProtection\Domain\Model\Entry $entry)
 {
     return $entry->getTstamp() < time() - $this->configuration->getRestrictionTime();
 }
 /**
  * @test
  */
 public function setFailuresForIntegerSetsFailures()
 {
     $this->fixture->setFailures(12);
     $this->assertSame(12, $this->fixture->getFailures());
 }