eZ\Publish\Core\Persistence\Cache\Tests\LocationHandlerTest::testMarkSubtreeModified PHP Method

testMarkSubtreeModified() public method

    public function testMarkSubtreeModified()
    {
        $this->loggerMock->expects($this->once())->method('logCall');
        $this->cacheMock->expects($this->never())->method($this->anything());
        $innerHandler = $this->getMock('eZ\\Publish\\SPI\\Persistence\\Content\\Location\\Handler');
        $this->persistenceHandlerMock->expects($this->once())->method('locationHandler')->will($this->returnValue($innerHandler));
        $innerHandler->expects($this->once())->method('markSubtreeModified')->with(55)->will($this->returnValue(null));
        $handler = $this->persistenceCacheHandler->locationHandler();
        $handler->markSubtreeModified(55);
    }