currency = Bootstrap::getObjectManager()->get(Currency::class); } #[ AppArea('adminhtml'), DbIsolation(true), AppIsolation(true), ] public function testNicaraguanCurrenciesExistsBoth() { $options = $this->currency->toOptionArray(); $values = []; foreach ($options as $option) { $values[] = $option['value']; } $this->assertContains('NIO', $values); $this->assertContains('NIC', $values); } }