toHtml(); $expected = <<<'SVG' SVG; $this->assertSame($expected, $result); } /** @test */ public function it_can_add_classes_to_icons() { $result = svg('ri-star-line', 'w-6 h-6 text-gray-500')->toHtml(); $expected = <<<'SVG' SVG; $this->assertSame($expected, $result); } /** @test */ public function it_can_add_styles_to_icons() { $result = svg('ri-star-line', ['style' => 'fill: #F00'])->toHtml(); $expected = <<<'SVG' SVG; $this->assertSame($expected, $result); } }