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

testLoadLocationByRemoteId() public method

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