예제 #1
0
        public EventServiceTests()
        {
            var settings = new Settings();
            var eventRepository = new EventRepository(settings);
            _eventService = new EventService(eventRepository);

            Thread.CurrentPrincipal = new GenericPrincipal(UserIdentity.Anonymous, null);
        }
예제 #2
0
 public UserServiceTests()
 {
     var settings = new Settings();
     var userRepository = new UserRepository(settings);
     _userService = new UserService(userRepository);
 }
예제 #3
0
 public FileServiceTests()
 {
     var settings = new Settings();
     _fileService = new FileService(settings);
 }
예제 #4
0
 public StripeServiceTests()
 {
     var settings = new Settings();
     _paymentService = new StripeService(settings);
 }