def METHOD_NAME(self):
    # Test target_acceptance_rate getting and setting
    mcmc = pints.HaarioACMC(self.real_parameters)
    self.assertEqual(mcmc.target_acceptance_rate(), 0.234)
    mcmc.set_target_acceptance_rate(0.1)
    self.assertEqual(mcmc.target_acceptance_rate(), 0.1)
    self.assertRaises(ValueError, mcmc.set_target_acceptance_rate, 0)
    self.assertRaises(ValueError, mcmc.set_target_acceptance_rate, -1e-6)
    self.assertRaises(ValueError, mcmc.set_target_acceptance_rate, 1.00001)