blade('Card Content'); $view->assertSeeHtml('
Test Header'); } public function testCardWithoutHeader(): void { $view = $this->blade('Card Content'); $view->assertDontSeeHtml('
'); } public function testCardContent(): void { $cardContent = '

This is the card content.

'; $view = $this->blade("{$cardContent}"); $view->assertSeeHtml($cardContent); } }