public void GetCodeTableValues_WhenDbErrorsOut_ShouldThrowException()
        {
            //Arrange
            mockDataAccess
            .Setup(x => x.GetDataTable(
                       It.IsAny <string>(),
                       "code.prc_GetCode_by_CodeTypeName",
                       System.Data.CommandType.StoredProcedure,
                       It.IsAny <SqlParameter[]>()))
            .Throws <Exception>();

            //Act and Assert
            Assert.Throws <Exception>(() => codeTables.GetCodeTableValues(
                                          "someId", DateTime.Now));

            mockExceptionHandling.Verify();
        }