TestProbe is a tiny wrapper around GenServer, that puts testing of actor interactions under control
TestProbe
GenServer
The %Message{} struct is used to wrap incoming messages. Along with payload it stores type of the message and sender reference if applicable
%Message{}