eZ\Publish\Core\Persistence\Legacy\Tests\Content\Location\Gateway\DoctrineDatabaseTest::testLoadLocation PHP Method

testLoadLocation() public method

public testLoadLocation ( $field, $value )
    public function testLoadLocation($field, $value)
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
        $handler = $this->getLocationGateway();
        $data = $handler->getBasicNodeData(77);
        $this->assertEquals($value, $data[$field], "Value in property {$field} not as expected.");
    }