\$reference])", [ 'reference' => [ 'primaryLabel' => 'Windows Lockdown', 'secondaryLabel' => 'Version 3', 'stateLabel' => 'Resolved', 'stateColor' => 'success', 'stateIcon' => 'heroicon-m-check-circle', 'stateDescription' => null, 'showStateBadge' => false, 'isLinkable' => true, 'linkTarget' => [ 'url' => '/admin/t/1/policy-versions/42', 'actionLabel' => 'View policy version', 'contextBadge' => 'Tenant', ], 'technicalDetail' => [ 'displayId' => '42', 'fullId' => '42', 'sourceHint' => 'Captured from drift evidence', ], ], ], ); expect($html)->toContain('Windows Lockdown') ->and($html)->toContain('Version 3') ->and($html)->not->toContain('Resolved') ->and($html)->toContain('Captured from drift evidence'); });