public function testStorytellerPurchaseGeneration() { self::$version->setEditingUser(self::$storyteller); foreach ([1, 2, 3, 4, 5] as $index) { $this->assertCostDifference(0, function () use($index) { self::$version->addBackground(RulebookBackground::where('name', 'Generation')->first(), $index); }); } }