public void OutputInvoiceListHasItemsOnlyFromASerie() { OutputInvoiceList list = null; QueryConditions conditions = new QueryConditions { Serie = SerieInfo.New(1) }; list = OutputInvoiceList.GetList(conditions, false); Assert.IsNull(list.FirstOrDefault(x => x.OidSerie != conditions.Serie.Oid)); }
public void OutputInvoiceListHasItemsOnlyFromAClient() { OutputInvoiceList list = null; QueryConditions conditions = new QueryConditions { Cliente = ClienteInfo.New(1) }; list = OutputInvoiceList.GetList(conditions, false); Assert.IsNull(list.FirstOrDefault(x => x.OidCliente != conditions.Cliente.Oid)); }