Testing GenServers with Erlang Trace (opens in new tab)
From The Great Code Adventure: Thanks to lots of Googling and some help from a friend, I learned you can test that a GenServer received a message with the help of Erlang tracing.
Read the original article