|
|
@ -27,6 +27,15 @@ class FlightTest { |
|
|
|
assertThat(flight1.getInstances()).describedAs("get flight instances of the flight ").isEqualTo(empty_list); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void getInstances_not_empty_list_should_be_equal() { |
|
|
|
HashSet<FlightInstance> list = new HashSet<>(); |
|
|
|
list.add(fInstance1); |
|
|
|
|
|
|
|
flight1.flightInstances.add(fInstance1); |
|
|
|
assertThat(flight1.getInstances()).describedAs("get flight instances of the flight ").isEqualTo(list); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void cancel() { |
|
|
|
} |
|
|
|