コード例 #1
0
ファイル: GroupTest.php プロジェクト: swat30/safeballot
            }
        }
    }
    /**
     * @todo Implement testGetAddEditForm().
     */
    public function testGetAddEditForm()
    {
        // Remove the following lines when you implement this test.
        $this->markTestIncomplete('This test has not been implemented yet.');
    }
    /**
     * @todo Implement testGetGroups().
     */
    public function testGetGroups()
    {
        $groups = $this->object->getGroups();
        if (!is_array($groups)) {
            $this->fail();
        }
        foreach ($groups as $group) {
            if (!$group instanceof Group) {
                $this->fail();
            }
        }
    }
}
// Call GroupTest::main() if this source file is executed directly.
if (PHPUnit_MAIN_METHOD == 'GroupTest::main') {
    GroupTest::main();
}