Setting up The setup behavior makes sure that there is an instance of the unit of work wrapper class before the handlers are called. snippet: SetupBehavior