def METHOD_NAME(self):
    # Test logging includes acceptance rate, evaluations, iterations and
    # time.
    x = [self.real_parameters] * 3
    mcmc = pints.MCMCController(
        self.log_posterior, 3, x, method=pints.HaarioACMC)
    mcmc.set_max_iterations(5)
    with StreamCapture() as c:
        mcmc.run()
    text = c.text()
    self.assertIn('Accept.', text)
    self.assertIn('Eval.', text)
    self.assertIn('Iter.', text)
    self.assertIn('Time m:s', text)