'+31613210095']); $this->assertSame('+31613210095', $subscriber->phoneDisplay()); } public function test_phone_display_prefixes_plus_for_legacy_digit_only_storage(): void { $subscriber = new Subscriber(['phone' => '31613210095']); $this->assertSame('+31613210095', $subscriber->phoneDisplay()); } public function test_phone_display_returns_null_when_empty(): void { $subscriber = new Subscriber(['phone' => null]); $this->assertNull($subscriber->phoneDisplay()); } }