/** * Test case for oePayPalConfig::isGuestBuyEnabled() * * @return null */ public function testIsGuestBuyEnabled() { $oConfig = new oePayPalConfig(); $this->getConfig()->setConfigParam('blOEPayPalGuestBuyRole', true); $this->assertTrue($oConfig->isGuestBuyEnabled()); $this->getConfig()->setConfigParam('blOEPayPalGuestBuyRole', false); $this->assertFalse($oConfig->isGuestBuyEnabled()); }