/** * Tests if partner code is returned correct */ public function testGetPartnerCode() { $oConfig = $this->getConfig(); if ($oConfig->getEdition() == 'EE') { $sResult = 'OXID_Cart_EnterpriseECS'; } else { if ($oConfig->getEdition() == 'PE') { $sResult = 'OXID_Cart_ProfessionalECS'; } else { if ($oConfig->getEdition() == 'CE') { $sResult = 'OXID_Cart_CommunityECS'; } } } $oPayPalConfig = new oePayPalConfig(); $this->assertEquals($sResult, $oPayPalConfig->getPartnerCode()); }