예제 #1
0
        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));
        }
예제 #2
0
        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));
        }