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

testGetFieldIdsByTypeWithSecondArgument() public method

    public function testGetFieldIdsByTypeWithSecondArgument()
    {
        $this->insertDatabaseFixture(__DIR__ . '/../_fixtures/contentobjects.php');
        $gateway = $this->getDatabaseGateway();
        $this->assertEquals(array('ezstring' => array(4001, 4002)), $gateway->getFieldIdsByType(225, 2));
    }
DoctrineDatabaseTest