/** * Checks if order was made using PayPal payment method. * Expected result- false */ public function testIsPayPalOrder_False() { $oPayPalOrder = new oePayPalOrder_PayPal(); $soxId = '_testOrderId'; $oSession = new oxSession(); $oSession->setVariable('saved_oxid', $soxId); $oOrder = new oxOrder(); $oOrder->setId($soxId); $oOrder->oxorder__oxpaymenttype = new oxField('other'); $oOrder->save(); $this->assertFalse($oPayPalOrder->isPayPalOrder()); }