public function testSearchBox() { $html = Form::search_box('foo', 'bar', $this->testAttributes); $expected = '<input class="foo search-query" data-foo="bar" name="foo" type="text" value="bar">'; $this->assertEquals($expected, $html); }