eZ\Publish\Core\Persistence\Legacy\Tests\Content\Location\TrashHandlerTest::testLoadTrashItem PHP Method

testLoadTrashItem() public method

public testLoadTrashItem ( )
    public function testLoadTrashItem()
    {
        $handler = $this->getTrashHandler();
        $this->locationGateway->expects($this->at(0))->method('loadTrashByLocation')->with(69)->will($this->returnValue($array = array('data…')));
        $this->locationMapper->expects($this->at(0))->method('createLocationFromRow')->with($array, null, new Trashed());
        $handler->loadTrashItem(69);
    }