예제 #1
0
 public function testLegend()
 {
     $legend = Former::legend('test', array('class' => 'foo', 'data-foo' => 'bar'));
     $matcher = '<legend class="foo" data-foo="bar">Test</legend>';
     $this->assertEquals($matcher, $legend);
 }