public void GetStateName_InvalidID()
        {
            #region ASSIGN

            StateRepo          testRepo       = new StateRepo();
            StateApiController testController = new StateApiController(testRepo);

            #endregion

            #region ACT

            var taskReturn = testController.GetStateName(3);
            taskReturn.Wait();
            var result = taskReturn.Result.Value;

            string testData = result;

            #endregion

            #region ASSERT

            Assert.AreNotEqual(testData, "Alaska");

            #endregion
        }
        public void GetStateName_NonExistingID()
        {
            #region ASSIGN

            StateRepo          testRepo       = new StateRepo();
            StateApiController testController = new StateApiController(testRepo);

            #endregion

            #region ACT

            var taskReturn = testController.GetStateName(0);
            taskReturn.Wait();
            var result = taskReturn.Result.Result;

            #endregion

            #region ASSERT

            Assert.IsTrue(result is NotFoundResult);
            Assert.AreEqual((result as NotFoundResult).StatusCode, 404);

            #endregion
        }