eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\Gateway\DoctrineDatabaseTest::testCountInstancesOfTypeExist PHP Метод

testCountInstancesOfTypeExist() публичный Метод

    public function testCountInstancesOfTypeExist()
    {
        $this->insertDatabaseFixture(__DIR__ . '/../../_fixtures/contentobjects.php');
        $gateway = $this->getGateway();
        $res = $gateway->countInstancesOfType(3, 0);
        $this->assertEquals(6, $res);
    }