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

testLoadAllGroupsData() public method

    public function testLoadAllGroupsData()
    {
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/existing_groups.php');
        $gateway = $this->getGateway();
        $data = $gateway->loadAllGroupsData();
        $this->assertEquals(3, count($data));
        $this->assertEquals(array('created' => '1031216941', 'creator_id' => '14', 'id' => '2', 'modified' => '1033922113', 'modifier_id' => '14', 'name' => 'Users'), $data[1]);
    }