Пример #1
0
 public void SetUp()
 {
     loggedUser = new User.User();
     anyUser = new User.User();
     _sessionService = Substitute.For<SessionService>();
     tripRepo = Substitute.For<TripRepository>();
 }
Пример #2
0
 public TripService(SessionService sessionService, TripRepository tripRepository)
 {
     this.sessionService = sessionService;
     this.tripRepository = tripRepository;
 }