def METHOD_NAME(self):
    # Tests the hyper parameter interface for this optimiser.
    r, x, s, b = self.problem()
    opt = pints.OptimisationController(r, x, method=method)
    m = opt.optimiser()
    self.assertEqual(m.n_hyper_parameters(), 0)