public void IsBackupCodeExceptionTest()
        {
            //Arrange
            BackupCodeException exception = new BackupCodeException(new EntityException(
                                                                        "This is a test message", ErrorCode.INVALID_FIELDS, RestStatusCodes.REST_CLIENT_ERROR_UNPROCESSABLE_ENTITY, 1));

            //Assert
            Assert.IsTrue(BackupCodeException.IsBackupCodeException(exception));
        }
        public void BackupCodeExceptionTest2()
        {
            //Arrange
            EntityException entityexception =
                new EntityException("This is a test exception", ErrorCode.INVALID_FIELDS, 200, 999);

            //Act
            BackupCodeException backupexception = new BackupCodeException(entityexception);

            //Assert
            Assert.AreEqual(backupexception.Message, "This is a test exception");
        }