Setting assigns values in a LiveComponent test


Maybe this is obvious but I can’t find a way to set an assign to a specific value in a unit test for a LiveComponent. I would like to set that assign then interact with the view with render_* functions. How can I force the value of an assign?

In my case, I cannot set that assign by “navigating” in the view with the render_click(), render_* functions because the required conditions cannot be met in a testing environnement.