encodingType() public method

public encodingType ( $type )
コード例 #1
0
ファイル: FormOpenTest.php プロジェクト: adamwathan/form
 public function testEncodingType()
 {
     $form = new FormOpen();
     $expected = '<form method="POST" action="" enctype="custom">';
     $result = $form->encodingType('custom')->render();
     $this->assertEquals($expected, $result);
 }