예제 #1
0
 public function testFiles()
 {
     $file = Former::files('foo')->__toString();
     $matcher = $this->cg('<input multiple="true" type="file" name="foo[]" id="foo[]">', '<label for="foo[]" class="control-label">Foo</label>');
     $this->assertEquals($matcher, $file);
 }