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

testLoadTypeDataByIdentifier() public method

    public function testLoadTypeDataByIdentifier()
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_types.php');
        $gateway = $this->getGateway();
        $rows = $gateway->loadTypeDataByIdentifier('folder', 0);
        $this->assertEquals(5, count($rows));
        $this->assertEquals(45, count($rows[0]));
    }