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

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

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