Example #1
0
 public function testGetBlockReturnsBlockOnExistingBlock()
 {
     $blocker = new Blocker($this->getExistingAdapterMock()->reveal(), $this->ownerMock->reveal(), $this->getValidValidatorMock()->reveal());
     $result = $blocker->getBlock($this->identifierMock->reveal());
     $this->assertInstanceOf(BlockInterface::class, $result);
 }