コード例 #1
0
        public async Task CreatePurchaseOrder_GivenNewPurchaseOrder_ReturnsInt()
        {
            var context = this.BuildContext();
            var service = new PurchasingService(context);

            IEnumerable <PurchaseOrderHeaderModel> result = await service.CreatePurchaseOrderHeaders(new PurchaseOrderHeaderModel());

            Assert.NotNull(result);
        }