public void Get_InsertsAndRetrievesTAG_DoesNotMatchId() { IRevenueObjectRepository revenueObjectRepository = new RevenueObjectRepository(_context); var tag = revenueObjectRepository.GetTAGByRevenueObjectId(0, _eventDateLaterThanAllDatesInData); tag.ShouldBeNull(); }
public void Get_InsertsAndRetrievesTAG_MatchesId() { IRevenueObjectRepository revenueObjectRepository = new RevenueObjectRepository(_context); var tag = revenueObjectRepository.GetTAGByRevenueObjectId(Id, _eventDateLaterThanAllDatesInData); tag.ShouldNotBeNull(); tag.Description.ShouldBe(TagDescription); }