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

testLoadWithAllTranslations() public method

    public function testLoadWithAllTranslations()
    {
        $this->insertDatabaseFixture(__DIR__ . '/../_fixtures/contentobjects.php');
        $gateway = $this->getDatabaseGateway();
        $res = $gateway->load(226, 2);
        $this->assertValuesInRows('ezcontentobject_attribute_language_code', array('eng-US', 'eng-GB'), $res);
        $this->assertValuesInRows('ezcontentobject_attribute_language_id', array('2', '4'), $res);
    }
DoctrineDatabaseTest