예제 #1
0
 public function testCheck()
 {
     $radio = Former::radio('foo')->check()->__toString();
     $matcher = $this->cg($this->rc());
     $this->assertEquals($matcher, $radio);
 }
예제 #2
0
 public function testSingleWithLabel()
 {
     $radio = Former::radio('foo')->text('bar')->__toString();
     $matcher = $this->cg($this->r('foo', 'Bar'));
     $this->assertEquals($matcher, $radio);
 }