public LoginAppTests() { domainNotificationHandler = new DomainNotificationHandler(); this.subNotificationHandler = domainNotificationHandler; this.subUserRepository = Substitute.For <IUserRepository>(); this.smartNotification = new SmartNotification(this.subNotificationHandler); this.loginAppServices = new LoginAppServices(this.smartNotification, this.subUserRepository); }
public HeroAppServiceTests() { domainNotificationHandler = new DomainNotificationHandler(); this.subNotificationHandler = domainNotificationHandler; this.subHeroRepository = Substitute.For <IHeroRepository>(); this.smartNotification = new SmartNotification(this.subNotificationHandler); this.heroAppService = new HeroAppService(this.smartNotification, this.subHeroRepository); }
public UserAppTests() { domainNotificationHandler = new DomainNotificationHandler(); this.subNotificationHandler = domainNotificationHandler; this.subUserRepository = Substitute.For <IUserRepository>(); this.subProfileRepository = Substitute.For <IProfileRepository>(); this.smartNotification = new SmartNotification(this.subNotificationHandler); this.userAppServices = new UserAppServices(this.smartNotification, this.subUserRepository, this.subProfileRepository); }
public ActorAppTests() { domainNotificationHandler = new DomainNotificationHandler(); this.subNotificationHandler = domainNotificationHandler; this.subActorRepository = Substitute.For <IActorRepository>(); this.subUserRepository = Substitute.For <IUserRepository>(); this.subGenreRepository = Substitute.For <IGenreRepository>(); this.smartNotification = new SmartNotification(this.subNotificationHandler); this.ActorAppServices = new ActorAppServices(this.smartNotification, this.subActorRepository, this.subUserRepository, this.subGenreRepository); }