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