public function testGetTransactionUrlWithTestModeEmptyAndSandboxOff() { $this->scopeConfigMock->expects($this->once())->method('getValue')->willReturn(0); $this->methodInterfaceMock->expects($this->once())->method('getConfigData')->with('transaction_url')->willReturn('transaction_url'); $this->config->setMethodInstance($this->methodInterfaceMock); $this->assertEquals('transaction_url', $this->config->getTransactionUrl()); }