'val1', 'parameter2' => 'val2', 'parameter3' => 'val3' ]; $converter = new HtmlFormConverter(); static::assertEquals($expectedResult, $converter->convert($this->getValidFormHtml())); } public function testConvertNotValidHtml() { $converter = new HtmlFormConverter(); $converter->convert('Not html. Really not.'); } /** * Returns valid form HTML * * @return string */ private function getValidFormHtml() { return '