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

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

            handler = new GetWasteRecoveryProviderHandler(repository);
        }