Example #1
0
 public function testIsBlockedReturnsFalseOnNonexistingBlock()
 {
     $blocker = new Blocker($this->getNonexistingAdapterMock()->reveal(), $this->ownerMock->reveal(), $this->getValidValidatorMock()->reveal());
     $result = $blocker->isBlocked($this->identifierMock->reveal());
     $this->assertFalse($result);
 }