def METHOD_NAME(self):
    # Test overrelaxation methods
    mcmc = pints.SliceStepoutMCMC(np.array([1, 2]))
    mcmc.set_prob_overrelaxed(0.5)
    self.assertEqual(mcmc.prob_overrelaxed(), 0.5)
    with self.assertRaises(ValueError):
        mcmc.set_prob_overrelaxed(-1)
    with self.assertRaises(ValueError):
        mcmc.set_prob_overrelaxed(4)