|
@ -36,7 +36,7 @@ public class FrontDeskOfficerTest { |
|
|
@DisplayName("Should Not Create Itinerary when Destination Airport is null") |
|
|
@DisplayName("Should Not Create Itinerary when Destination Airport is null") |
|
|
public void shouldThrowRuntimeExceptionWhenFinalAirportIsNull(){ |
|
|
public void shouldThrowRuntimeExceptionWhenFinalAirportIsNull(){ |
|
|
assertThrows(RuntimeException.class, () -> { |
|
|
assertThrows(RuntimeException.class, () -> { |
|
|
frontDeskOfficer.createItinerary(airport_fr, null, new Date()); |
|
|
|
|
|
|
|
|
frontDeskOfficer.createItinerary(airport_fr, airport_be, null); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |