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

testInsertGroup() public method

public testInsertGroup ( )
    public function testInsertGroup()
    {
        $gateway = $this->getGateway();
        $group = $this->getGroupFixture();
        $id = $gateway->insertGroup($group);
        $this->assertQueryResult(array(array('id' => '1', 'created' => '1032009743', 'creator_id' => '14', 'modified' => '1033922120', 'modifier_id' => '14', 'name' => 'Media')), $this->getDatabaseHandler()->createSelectQuery()->select('id', 'created', 'creator_id', 'modified', 'modifier_id', 'name')->from('ezcontentclassgroup'));
    }