setOrderIndex(0); $subPlatform->setOnline(true); TestEnv::em()->persist($subPlatform); return $subPlatform; } static function setUpSubCurrency(string $code): SubCurrency { $currency = new SubCurrency(); $currency->setCode($code); TestEnv::tem()->persist($currency); return $currency; } static function setUpSubCountry(string $code, SubCurrency $subCurrency): SubCountry { $country = new SubCountry($code, $subCurrency); TestEnv::tem()->persist($country); return $country; } }