public void PurchaseOrderLinesController_Details_isNotValid()
        {
            PurchaseOrderLinesController controller = new PurchaseOrderLinesController();

            HttpNotFoundResult result = controller.Details(9999999) as HttpNotFoundResult;
            var expectedResult = new HttpNotFoundResult().GetType();

            Assert.IsInstanceOfType(result, expectedResult);
        }
        public void PurchaseOrderLinesController_Details_isValid()
        {
            PurchaseOrderLinesController controller = new PurchaseOrderLinesController();

            ViewResult result = controller.Details(1) as ViewResult;
            PurchaseOrderLine PurchaseOrderLineResult = (PurchaseOrderLine)result.Model;

            Assert.AreEqual(1, PurchaseOrderLineResult.purchaseOrderLinesID);
        }