In my entities I have bidirectional one-to-many relation and I would like to write integration tests with mock.mvc. However, before adding parent, I cannot add child. For this reason, I would like to order my test classes like first run AirportControllerTest, secondly RouteControllerTest and lastly FlightController.
Is it possible, or how to handle such case ?