public void GetEndCodes_WhenDbErrorsOut_ShouldThrowException()
        {
            //Arrange
            mockDataAccess
            .Setup(x => x.GetDataTable(
                       It.IsAny <string>(),
                       "prc_ISISEndCodesGet",
                       CommandType.StoredProcedure,
                       null))
            .Throws <Exception>();

            //Act and Assert
            Assert.Throws <Exception>(() => codeTables.GetEndCodes());

            mockExceptionHandling.Verify();
        }