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

testRecover() public method

public testRecover ( )
    public function testRecover()
    {
        $handler = $this->getTrashHandler();
        $this->locationGateway->expects($this->at(0))->method('untrashLocation')->with(69, 23)->will($this->returnValue(new Trashed(array('id' => 70))));
        self::assertSame(70, $handler->recover(69, 23));
    }