public function testCanSetBoundariesToText() { $this->former->withRules(array('foo' => 'between:1,10')); $input = $this->former->text('foo')->__toString(); $matcher = $this->matchField(array('pattern' => '.{1,10}', 'maxlength' => '10')); $this->assertControlGroup($input); $this->assertHTML($matcher, $input); }