public GetWasteRecoveryProviderHandlerTests() { notification = new TestableNotificationApplication { Id = NotificationId }; repository = A.Fake<INotificationApplicationRepository>(); A.CallTo(() => repository.GetById(NotificationId)).Returns(notification); handler = new GetWasteRecoveryProviderHandler(repository); }
public GetWasteRecoveryProviderHandlerTests() { notification = new TestableNotificationApplication { Id = NotificationId }; repository = A.Fake <INotificationApplicationRepository>(); A.CallTo(() => repository.GetById(NotificationId)).Returns(notification); handler = new GetWasteRecoveryProviderHandler(repository); }