//Test POST for creating new budget that is null
        public void BudgetsController_Create_ReturnsBadRequest_WhenObjectIsNull()
        {
            //Arrange new ObjectResult
            Budget budget = null;

            //Act
            var result = controller.Create(budget);

            //Assert
            Assert.IsType <BadRequestObjectResult>(result);
        }
        //Test POST for creating new budget
        public void BudgetsController_Create_ReturnsObject_WhenNewObject()
        {
            controller = createContext(controller);
            //Arrange new ObjectResult
            var budget = new Budget();

            budget.From = 500;

            //Act
            var result         = controller.Create(budget);
            var resultAsObject = result as ObjectResult;
            var resultObject   = resultAsObject.Value as Budget;

            //Assert
            Assert.IsType <ObjectResult>(result);
            Assert.Equal(budget.From, resultObject.From);
        }