public EventServiceTests() { var settings = new Settings(); var eventRepository = new EventRepository(settings); _eventService = new EventService(eventRepository); Thread.CurrentPrincipal = new GenericPrincipal(UserIdentity.Anonymous, null); }
public UserServiceTests() { var settings = new Settings(); var userRepository = new UserRepository(settings); _userService = new UserService(userRepository); }
public FileServiceTests() { var settings = new Settings(); _fileService = new FileService(settings); }
public StripeServiceTests() { var settings = new Settings(); _paymentService = new StripeService(settings); }