public function testInvalidRuleMax_HasMinus() { $this->app['request'] = new Request(); $this->formData['rule_max'] = '-123456'; $this->form->submit($this->formData); $this->assertFalse($this->form->isValid()); }