| Línea 21... |
Línea 21... |
| 21 |
*
|
21 |
*
|
| 22 |
* @package core
|
22 |
* @package core
|
| 23 |
* @category phpunit
|
23 |
* @category phpunit
|
| 24 |
* @copyright 2012 Petr Skoda {@link http://skodak.org}
|
24 |
* @copyright 2012 Petr Skoda {@link http://skodak.org}
|
| 25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
| 26 |
* @covers \core\testing_data_generator
|
26 |
* @covers \testing_data_generator
|
| 27 |
*/
|
27 |
*/
|
| 28 |
class testing_generator_test extends \advanced_testcase {
|
28 |
final class testing_generator_test extends \advanced_testcase {
|
| 29 |
public function test_get_plugin_generator_good_case(): void {
|
29 |
public function test_get_plugin_generator_good_case(): void {
|
| 30 |
$generator = $this->getDataGenerator()->get_plugin_generator('core_question');
|
30 |
$generator = $this->getDataGenerator()->get_plugin_generator('core_question');
|
| 31 |
$this->assertInstanceOf('core_question_generator', $generator);
|
31 |
$this->assertInstanceOf('core_question_generator', $generator);
|
| 32 |
}
|
32 |
}
|