public void GetInterestExceptionTest()
        {
            var controller = new LoanController();

            Assert.ThrowsException <HttpResponseException>
                (() => controller.GetInterest(ushort.MaxValue));
        }
        public void GetInterestValidTest()
        {
            var controller = new LoanController();

            var interest = controller.GetInterest(0);

            Assert.IsTrue(interest == 0.0314M);
        }