public function testAfter() { Former::withRules(array('foo' => 'after:2012-03-03')); $input = Former::date('foo')->__toString(); $matcher = $this->cg($this->field(array('min' => '2012-03-03'), 'date')); $this->assertEquals($matcher, $input); }