public function testAttributes() { $this->assertEquals('<div class="control-group"></div>', (string) Tag::div()->class('control-group')); $this->assertEquals('<a href="http://www.google.com">here</a>', (string) Tag::a('here')->href('http://www.google.com')); $this->assertEquals('<input required>', (string) Tag::input()->required(true)); }