def METHOD_NAME(self):
    surrogate = KrigingSurrogate()
    x = [[0.]]
    y = [[1.]]
    with self.assertRaises(ValueError) as cm:
        surrogate.train(x, y)
    self.assertEqual(str(cm.exception), 'KrigingSurrogate requires at least'
                                        ' 2 training points.')