setName('Test Category'); $id = WikiAppMapper::create($app); self::assertGreaterThan(0, $app->getId()); self::assertEquals($id, $app->getId()); $appR = WikiAppMapper::get($app->getId()); self::assertEquals($app->getName(), $appR->getName()); } /** * @group volume * @group module * @coversNothing */ public function testVolume() : void { for ($i = 1; $i < 3; ++$i) { $text = new Text(); $app = new WikiApp(); $app->setName($text->generateText(\mt_rand(1, 3))); $id = WikiAppMapper::create($app); } } }