public void GetLegalPartyIdByCommIdDoesNotMatchId() { AumentumRepository aumentumRepository = new AumentumRepository(_context); var legalPartyIdList = aumentumRepository.GetLegalPartyIdByCommId(ComId + 1).ToList(); legalPartyIdList.Count.ShouldBe(0); }
public void GetLegalPartyIdByCommIdMatchesId() { AumentumRepository aumentumRepository = new AumentumRepository(_context); List <int> legalPartyIdList = aumentumRepository.GetLegalPartyIdByCommId(ComId).ToList(); legalPartyIdList.Count.ShouldBeGreaterThan(0); }