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