public function testCanSetBoundariesToTextAsArray() { $this->former->withRules(array('foo' => array('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); }