/**
  * Test case for oePayPalConfig::getUserName()
  *
  * @dataProvider providerGetTextConfig
  */
 public function testGetUserName($bSandBoxEnabled, $sSandBoxUsername, $sUsername, $sResult)
 {
     $oConfig = new oePayPalConfig();
     $this->getConfig()->setConfigParam('blOEPayPalSandboxMode', $bSandBoxEnabled);
     $this->getConfig()->setConfigParam('sOEPayPalSandboxUsername', $sSandBoxUsername);
     $this->getConfig()->setConfigParam('sOEPayPalUsername', $sUsername);
     $this->assertEquals($sResult, $oConfig->getUserName());
 }