Ejemplo 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);
        }
Ejemplo n.º 2
0
 public UserServiceTests()
 {
     var settings = new Settings();
     var userRepository = new UserRepository(settings);
     _userService = new UserService(userRepository);
 }
Ejemplo n.º 3
0
 public FileServiceTests()
 {
     var settings = new Settings();
     _fileService = new FileService(settings);
 }
Ejemplo n.º 4
0
 public StripeServiceTests()
 {
     var settings = new Settings();
     _paymentService = new StripeService(settings);
 }