public async Task Test_GetGoalsController_Exception()
        {
            _goalServices.Setup(g => g.GetGoalsService(It.IsAny <long>()))
            .ThrowsAsync(new Exception("Goals not found"));

            var controller = new GoalController(_goalServices.Object);
            var response   = await controller.GetGoals(1);

            Assert.NotNull(response);
            Assert.AreEqual(500, ((ObjectResult)response).StatusCode);
        }
        public async Task Test_GetGoalsController_BadArgument()
        {
            _goalServices.Setup(g => g.GetGoalsService(It.IsAny <long>()))
            .ReturnsAsync(new List <GoalModel>());

            var controller = new GoalController(_goalServices.Object);
            var response   = await controller.GetGoals(0);

            Assert.NotNull(response);
            Assert.AreEqual(400, ((ObjectResult)response).StatusCode);
        }