Functional Programming Unit Testing Phoenix Controllers with Mox A short walkthrough of the Mox library for Elixir. See how implementing mocks based on behaviours can simplify your unit tests for Phoenix controllers.