value)->toBe('ean') ->and(BarcodeFormat::CODE128->value)->toBe('code128') ->and(BarcodeFormat::GS1_128->value)->toBe('gs1'); }); it('exposes its case name', function (): void { // THEN expect(BarcodeFormat::EAN13->name)->toBe('EAN13'); }); });