Пример #1
0
 public WasteRecoveryControllerTests()
 {
     mediator     = A.Fake <IMediator>();
     auditService = A.Fake <IAuditService>();
     controller   = new WasteRecoveryController(mediator, auditService);
     A.CallTo(() => auditService.AddAuditEntry(this.mediator, notificationId, "user", NotificationAuditType.Added, NotificationAuditScreenType.WasteRecovery));
 }
 public WasteRecoveryControllerTests()
 {
     mediator = A.Fake<IMediator>();
     controller = new WasteRecoveryController(mediator);
 }