eZ\Publish\Core\Persistence\Legacy\Tests\Content\Location\Gateway\DoctrineDatabaseTrashTest::testUntrashLocationDefault PHP Method

testUntrashLocationDefault() public method

public testUntrashLocationDefault ( $property, $value )
    public function testUntrashLocationDefault($property, $value)
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
        $handler = $this->getLocationGateway();
        $handler->trashLocation(71);
        $handler->untrashLocation(71);
        $query = $this->handler->createSelectQuery();
        $this->assertQueryResult(array(array($value)), $query->select($property)->from('ezcontentobject_tree')->where($query->expr->in('contentobject_id', array(69))));
    }