/** * @test * @depends toString */ public function selfClosingTag() { $html = new Silkworm(); $html->br(); $this->assertSame("<br>\n", (string) $html, "Failed to return br tag as parent (self-closing)."); }