/** * @covers sAdmin::sGetPremiumDispatchSurcharge */ public function testsGetPremiumDispatchSurcharge() { // No basket, return false, $this->assertFalse($this->module->sGetPremiumDispatchSurcharge(null)); $this->module->sSYSTEM->sSESSION_ID = uniqid(); $this->session->offsetSet('sessionId', $this->module->sSYSTEM->sSESSION_ID); $this->basketModule->sAddArticle('SW10010'); $fullBasket = $this->module->sGetDispatchBasket(); $result = $this->module->sGetPremiumDispatchSurcharge($fullBasket); $this->assertEquals(0, $result); }