equals($tenantId2)); } #[Test] public function twoTenantIdsWithDifferentValuesAreNotEqual(): void { $tenantId1 = TenantId::fromString('a1b2c3d4-e5f6-7890-abcd-ef1234567890'); $tenantId2 = TenantId::fromString('b2c3d4e5-f6a7-8901-bcde-f12345678901'); self::assertFalse($tenantId1->equals($tenantId2)); } #[Test] public function itCanBeConvertedToString(): void { $uuid = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'; $tenantId = TenantId::fromString($uuid); self::assertSame($uuid, (string) $tenantId); } }