toBeInstanceOf(StockId::class); }); it('generates different ids on each call', function (): void { // WHEN $first = StockId::generate(); $second = StockId::generate(); // THEN expect((string) $first)->not->toBe((string) $second); }); });