public function testDeleteGroupAssignmentsForTypeNotExisting()
{
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_types.php');
$gateway = $this->getGateway();
$gateway->deleteType(23, 1);
$countAffectedAttr = $this->getDatabaseHandler()->createSelectQuery();
$countAffectedAttr->select('COUNT(*)')->from('ezcontentclass_classgroup');
$this->assertQueryResult(array(array(3)), $countAffectedAttr);
}