public function testGetContent() { $tag = new ProgressBar('10'); $content = $tag->GetContent(); $this->assertInternalType('array', $content); $this->assertCount(1, $content); $defaultContent = reset($content); $this->assertInstanceOf(GenericTag::class, $defaultContent); $this->assertEquals('<span class="sr-only">' . '10%' . '</span>', $defaultContent->getHTML()); }