healer = new LocalHealer(); } public function testHealsMissingImgAlt(): void { $violation = new Violation( 'WCAG_1_1_1_IMG_ALT', 'Image missing alt', Severity::ERROR, WCAGStandard::A, '' ); $healed = $this->healer->heal($violation); $this->assertNotNull($healed); $this->assertStringContainsString('FIX: ', $healed); } public function testHealsDecorativeSvg(): void { $violation = new Violation( 'WCAG_1_1_1_SVG', 'SVG needs accessible text', Severity::ERROR, WCAGStandard::A, '' ); $healed = $this->healer->heal($violation); $this->assertNotNull($healed); $this->assertStringContainsString('FIX: ' ); $healed = $this->healer->heal($violation); $this->assertNotNull($healed); $this->assertStringContainsString('