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

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

    public function testCountTypesInGroup()
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_types.php');
        $gateway = $this->getGateway();
        $this->assertEquals(3, $gateway->countTypesInGroup(1));
        $this->assertEquals(0, $gateway->countTypesInGroup(23));
    }