public void GetListOfCalls() { Sentry s = Monitor.Calls<Model>(); var controller = new Controller(); controller.Action(); Approvals.Approve(s.Report); }
public void GetInteractionsAgainstSystemTypes() { Sentry s = Monitor.Interactions(typeof (Controller)); var controller = new Controller(); controller.ActionsAgainstSystemTypes(); Approvals.Approve(s.Report); }