def METHOD_NAME(self):
    # The model has not been trained.
    warnings.simplefilter("ignore", UserWarning)
    learner = EfficientLpsLearner(self.config_file)
    temp_model_path = os.path.join(self.temp_dir, "checkpoints")
    # Make sure that no model has been written to that path yet
    if os.path.exists(temp_model_path):
        rmdir(temp_model_path)
    successful = learner.save(temp_model_path)
    self.assertTrue(os.path.exists(os.path.join(temp_model_path, 'efficient_lps', 'efficient_lps.json')))
    self.assertTrue(os.path.exists(os.path.join(temp_model_path, 'efficient_lps', 'model.pth')))
    self.assertTrue(successful)
    rmdir(temp_model_path)