public function testTextAreaBuildsExpectedHtmlFromSetData() { Form::clear(); Form::setData(['test' => 'Foo']); $actual = (string) Form::textarea('test'); $expected = '<textarea name="test" id="test">Foo</textarea>'; $this->assertEquals($expected, $actual); }