Esempio n. 1
0
 public function testInline()
 {
     $checkboxes1 = Former::inline_checkboxes('foo')->checkboxes('foo', 'bar')->__toString();
     $checkboxes2 = Former::checkboxes('foo')->inline()->checkboxes('foo', 'bar')->__toString();
     $matcher = $this->cg($this->cx('foo_0', 'Foo', 1, true) . $this->cx('foo_1', 'Bar', 1, true));
     $this->assertEquals($matcher, $checkboxes1);
     $this->assertEquals($matcher, $checkboxes2);
 }