def METHOD_NAME(self):
    log_pdf = pints.toy.GaussianLogPDF([5, 5], [[4, 1], [1, 3]])
    x0 = np.array([2, 2])
    # Test initial proposal is first point
    mcmc = pints.MALAMCMC(x0)
    self.assertTrue(np.all(mcmc.ask() == mcmc._x0))
    # Repeated asks
    self.assertRaises(RuntimeError, mcmc.ask)
    # Tell without ask
    mcmc = pints.MALAMCMC(x0)
    self.assertRaises(RuntimeError, mcmc.tell, 0)
    # Repeated tells should fail
    x = mcmc.ask()
    mcmc.tell(log_pdf.evaluateS1(x))
    self.assertRaises(RuntimeError, mcmc.tell, log_pdf.evaluateS1(x))
    # Bad starting point
    mcmc = pints.MALAMCMC(x0)
    mcmc.ask()
    self.assertRaises(
        ValueError, mcmc.tell, (-np.inf, np.array([1, 1])))
    # Test initialisation twice
    mcmc = pints.MALAMCMC(x0)
    mcmc._running = True
    self.assertRaises(RuntimeError, mcmc._initialise)