public function setUp() { vfsStream::setup('blockDir'); $this->root = vfsStream::url('blockDir'); $this->adapter = new FilesystemAdapter($this->root); $this->ownerMock = $this->prophesize(OwnerInterface::class); $this->ownerMock->__toString()->willReturn('dummyOwner'); }
public function setUp() { $this->identifierMock = $this->prophesize(IdentifierInterface::class); $this->ownerMock = $this->prophesize(OwnerInterface::class); $this->ownerMock->__toString()->willReturn('dummyOwner'); $this->blockMock = $this->prophesize(BlockInterface::class); $this->blockMock->getOwner()->willReturn($this->ownerMock->reveal()); }