def METHOD_NAME(self):
    surrogate = KrigingSurrogate()
    try:
        surrogate.predict([0., 1.])
    except RuntimeError as err:
        self.assertEqual(str(err),
                         "KrigingSurrogate has not been trained, "
                         "so no prediction can be made.")
    else:
        self.fail("RuntimeError Expected")