def METHOD_NAME(self):
    # First run the entire test.
    hyperopt = self.__original_setup(9)
    hyperopt.perform_study()
    original_final_test_value = hyperopt.study.best_trial.value
    # Now do the same, but cut at epoch 22 and see if it recovers the
    # correct result.
    hyperopt = self.__original_setup(9)
    hyperopt.perform_study()
    hyperopt = self.__resume_checkpoint()
    hyperopt.perform_study()
    new_final_test_value = hyperopt.study.best_trial.value
    assert np.isclose(original_final_test_value, new_final_test_value,
                      atol=accuracy)