コード例 #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;
 }