public function testCanSetMinToText() { $this->former->withRules(array('foo' => 'min:42')); $input = $this->former->text('foo')->__toString(); $matcher = $this->matchField(array('pattern' => '.{42,}')); $this->assertHTML($matcher, $input); $this->assertControlGroup($input); }