def METHOD_NAME(self):
    # Tests bad calls.
    f = pints.toy.NealsFunnelLogPDF()
    self.assertRaises(ValueError, f.__call__, [1, 2])
    self.assertRaises(ValueError, pints.toy.NealsFunnelLogPDF, 1)
    n = 10
    d = 10
    x = np.ones((n, d + 1))
    self.assertRaises(ValueError, f.kl_divergence, x)
    x = np.ones((n, d, 2))
    self.assertRaises(ValueError, f.kl_divergence, x)