예제 #1
0
 public function testInline()
 {
     $radios1 = Former::inline_radios('foo')->radios('foo', 'bar')->__toString();
     $radios2 = Former::radios('foo')->inline()->radios('foo', 'bar')->__toString();
     $matcher = $this->cgm($this->r('foo', 'Foo', 0, true) . $this->r('foo', 'Bar', 1, true));
     $this->assertEquals($matcher, $radios1);
     $this->assertEquals($matcher, $radios2);
 }