public function testFallbackWithoutNotification() { TestingGenericAdapter::$fakeGlobals['NotifyOnConvert'] = false; $this->setUpAdapter(); $this->page->validateForm(); $this->assertTrue($this->adapter->validatedOK()); $manualErrors = $this->adapter->getManualErrors(); $this->assertEquals(null, $manualErrors['general']); $this->assertEquals(100, $this->adapter->getData_Unstaged_Escaped('amount')); $this->assertEquals('USD', $this->adapter->getData_Unstaged_Escaped('currency_code')); }