public void SetUp() { _userGuid1 = Guid.NewGuid(); _userGuid2 = Guid.NewGuid(); _context = TravelContextFactory.Create(); _context.Travels.Add(ArrangeData()); _context.SaveChanges(); _handler = new GetTravelQueryHandler(_context); }
public void TearDown() { TravelContextFactory.Destroy(_context); }