public void SalesOrderLinesController_Delete_GET_isValid()
        {
            SalesOrderLinesController controller = new SalesOrderLinesController();

            ViewResult result = controller.Delete(2) as ViewResult;
            SalesOrderLine SalesOrderLinesResult = (SalesOrderLine)result.Model;

            Assert.AreEqual(2, SalesOrderLinesResult.salesOrderLinesID);
        }
        public void SalesOrderLinesController_Delete_GET_isNotValid()
        {
            SalesOrderLinesController controller = new SalesOrderLinesController();

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

            Assert.IsInstanceOfType(result, expectedResult);
        }