0

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)
cfrick
  • 35,203
  • 6
  • 56
  • 68
kofhearts
  • 3,607
  • 8
  • 46
  • 79

0 Answers0