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

testDeleteGroup() public method

public testDeleteGroup ( )
    public function testDeleteGroup()
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_groups.php');
        $gateway = $this->getGateway();
        $gateway->deleteGroup(2);
        $this->assertQueryResult(array(array('1'), array('3')), $this->getDatabaseHandler()->createSelectQuery()->select('id')->from('ezcontentclassgroup'));
    }