Exemplo n.º 1
0
        public EventServiceTests()
        {
            var settings = new Settings();
            var eventRepository = new EventRepository(settings);
            _eventService = new EventService(eventRepository);

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