예제 #1
0
 public function testSelectOptionsValueMethod()
 {
     $select = Former::select('foo')->data_foo('bar')->options($this->options)->select('kal')->__toString();
     $matcher = $this->cg('<select data-foo="bar" id="foo" name="foo">' . '<option value="foo">bar</option>' . '<option value="kal" selected="selected">ter</option>' . '</select>');
     $this->assertEquals($select, $matcher);
 }