code: func (m *MockTaskEngine) ListTasks() ([]*task.Task, error) {
  	ret := m.ctrl.Call(m, "ListTasks")
  	ret0, _ := ret[0].([]*task.Task)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // ListTasks mocks base method