['Viande de dinde (66%)']]); $brand = new IncoBrand(new BrandName('Le Gaulois'), new BrandCode('LGL01'), new ArcadiaId('504')); // WHEN $sheet = IncoSheet::hydrate( id: $id, name: 'Poulet Rôti 1kg', label: 'Poulet Rôti Classe A', description: 'Poulet prêt à cuire', allegations: $allegations, sellArguments: 'Délicieux', preparationAdvices: 'Cuire 45min à 180°C', tips: null, sellFamilly: 'Boucherie', ingredients: $ingredients, portions: null, allergens: [], brand: $brand, isSeasonal: true, weight: null, nutriscore: null, storageCondition: null, additives: [], compo: null, createdAt: null, updatedAt: null, ); // THEN expect($sheet)->toBeInstanceOf(Entity::class) ->and($sheet->id())->toBe($id) ->and($sheet->name)->toBe('Poulet Rôti 1kg') ->and($sheet->brand->name->value)->toBe('Le Gaulois') ->and($sheet->brand->code->value)->toBe('LGL01') ->and($sheet->brand->arcadiaBrandCode->value)->toBe('504') ->and($sheet->isSeasonal)->toBeTrue(); }); });