TripRepository mockedTripRepository;
@Test
public void shouldEnrichHeaderAndSendMessageForRelatedTrips() {
final Flight flight = mock(Flight.class);
final FlightNotification notification = new FlightNotification("Flight has been cancelled", flight);
final Message<FlightNotification> testMessage = MessageBuilder.withPayload(notification).build();
Trip trip1 = mock(Trip.class);
Trip trip2 = mock(Trip.class);
List<Trip> relatedTrips = asList(trip1, trip2);
given(mockedTripRepository.findTripsRelatedTo(flight)).willReturn(relatedTrips);