public function testMagicMethods() { $text = Former::three_text('foo')->__toString(); $matcher = '<div><label for="foo">Foo</label><input class="three" type="text" name="foo" id="foo"></div>'; $this->assertEquals($matcher, $text); }