toBeInstanceOf(Entity::class) ->and($compo->id())->toBe($id) ->and($compo->idInco)->toBe($idInco) ->and($compo->identification->name)->toBe('Poulet Rôti') ->and($compo->nutriScore->grade)->toBe('D'); }); });