public void GetLegalPartyIdByRevenueObjectIdDoesNotMatchId() { AumentumRepository aumentumRepository = new AumentumRepository(_context); var legalPartyIdList = aumentumRepository.GetLegalPartyIdByRevenueObjectId(RevenueObjectId + 1).ToList(); legalPartyIdList.Count.ShouldBe(0); }
public void GetLegalPartyIdByRevenueObjectIdMatchesId() { AumentumRepository aumentumRepository = new AumentumRepository(_context); var legalPartyIdList = aumentumRepository.GetLegalPartyIdByRevenueObjectId(RevenueObjectId).ToList(); legalPartyIdList.Count.ShouldBeGreaterThan(0); }