public PackagingTypesControllerTests() { this.mediator = A.Fake <IMediator>(); this.auditService = A.Fake <IAuditService>(); packagingTypesController = new PackagingTypesController(A.Fake <IMediator>(), this.auditService); A.CallTo(() => auditService.AddAuditEntry(this.mediator, notificationId, "user", NotificationAuditType.Added, NotificationAuditScreenType.PackagingTypes)); }
public PackagingTypesControllerTests() { packagingTypesController = new PackagingTypesController(A.Fake<IMediator>()); }