public void SetUp() { loggedUser = new User.User(); anyUser = new User.User(); _sessionService = Substitute.For<SessionService>(); tripRepo = Substitute.For<TripRepository>(); }
public TripService(SessionService sessionService, TripRepository tripRepository) { this.sessionService = sessionService; this.tripRepository = tripRepository; }