eZ\Publish\Core\Persistence\Legacy\Tests\Content\LocationHandlerTest::testHideUpdateHidden PHP Method

testHideUpdateHidden() public method

    public function testHideUpdateHidden()
    {
        $handler = $this->getLocationHandler();
        $this->locationGateway->expects($this->at(0))->method('getBasicNodeData')->with(69)->will($this->returnValue(array('node_id' => 69, 'path_string' => '/1/2/69/', 'contentobject_id' => 67)));
        $this->locationGateway->expects($this->once())->method('hideSubtree')->with('/1/2/69/');
        $handler->hide(69);
    }