コード例 #1
0
        public void GetLegalPartyIdByRevenueObjectIdDoesNotMatchId()
        {
            AumentumRepository aumentumRepository = new AumentumRepository(_context);

            var legalPartyIdList = aumentumRepository.GetLegalPartyIdByRevenueObjectId(RevenueObjectId + 1).ToList();

            legalPartyIdList.Count.ShouldBe(0);
        }
コード例 #2
0
        public void GetLegalPartyIdByRevenueObjectIdMatchesId()
        {
            AumentumRepository aumentumRepository = new AumentumRepository(_context);

            var legalPartyIdList = aumentumRepository.GetLegalPartyIdByRevenueObjectId(RevenueObjectId).ToList();

            legalPartyIdList.Count.ShouldBeGreaterThan(0);
        }