def METHOD_NAME(self):
    model = pints.toy.LogisticModel(2)
    # Times can't be negative
    times = [0, 1, 2, 10000]
    parameters = [1, 1]
    model.simulate(parameters, times)
    times[1] = -1
    self.assertRaises(ValueError, model.simulate, parameters, times)
    # Initial value can't be negative
    self.assertRaises(ValueError, pints.toy.LogisticModel, -1)