function preDisplay() { global $app_list_strings; parent::preDisplay(); $this->calcularInfo(); $this->infoParties(); }
public function testpreDisplay() { $SugarView = new SugarView(); //execute the method and check if it works and doesn't throws an exception try { $SugarView->preDisplay(); } catch (Exception $e) { $this->fail(); } $this->assertTrue(true); }