Example #1
0
 public void Init()
 {
     mediator = Substitute.For<IMediator>();
     controller = new HomeController(mediator)
     {
         Logger = Substitute.For<ILogger>()
     };
 }
Example #2
0
 public void Cleanup()
 {
     controller.Dispose();
     controller = null;
 }