Open
Description
Is there any way to mock a dependency container when form is submitted
I was not able to get mocked http_client when form was submitted
Maybe it's because Live Component actually makes another request to render the component...
Well... Question is: Is it possible to get mocked services where twig component renders (save method for instance, for saving entities when form submitted)
Because when I try to mock it I get a real http_client
I mean: MY TEST USES MOCKED VERSION OF http_client
but when form is submitted during the same test: I GET A REAL htt_client ON FORM SUBMITTION CODE SIDE