Hi,
I am trying to mock a module behavior inside my LocalCluster
using :erpc
and mox
libraries. Is this the correct way to do it, as I still get error inside the node that the mock is not defined.
:erpc.call(node, Application, :put_env, [:service, :connector_api_module, ConnectorApiMock])
:erpc.call(node, Mox, :stub, [ConnectorApiMock, :stop_in, fn _ -> :ok end])
Thank you