In this piece of integration test code it is asserting a list of models. How does assertEquals
work for models. Does it check if both models have same id?
def model = controller.list()
assertNull model.selection.endDate
assertNull model.selection.startDate
assertEquals([raceGroup], model.compositeEvents)