/** * @expectedException FormulaMedia_Validate_Exception */ public function testFormulaInvalidaPorErroDeSintaxe() { $formula = '(Rc * 0.4) + (Se * 0.6) ()'; $validator = new FormulaMedia_Validate_Formula(array('excludeToken' => NULL)); $this->assertTrue($validator->isValid($formula)); }