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