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