public function testEncodingType() { $form = new FormOpen(); $expected = '<form method="POST" action="" enctype="custom">'; $result = $form->encodingType('custom')->render(); $this->assertEquals($expected, $result); }