public function testNoFallbackForSupportedCurrency() { TestingGenericAdapter::$acceptedCurrencies[] = 'BBD'; $this->setUpAdapter(); $this->page->validateForm(); $manualErrors = $this->adapter->getManualErrors(); $this->assertEquals(null, $manualErrors['general']); $this->assertEquals(200, $this->adapter->getData_Unstaged_Escaped('amount')); $this->assertEquals('BBD', $this->adapter->getData_Unstaged_Escaped('currency_code')); }