Mocking a GenServer.call reply in a test

I thought about that, but the manager server does a bunch of other complicated stuff, and its interaction with the worker in this case is pretty limited (receiving the data from the GenServer.call, and responding with :ok)

In this scenario it seems best to isolate the worker for testing purposes.