Browse Source

get flight status of flight instance

feature-flight-instance
Imron 3 years ago
parent
commit
cfde223974
  1. 8
      src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java

8
src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java

@ -19,7 +19,13 @@ class FlightInstanceTest {
@Test @Test
void getGate(){ void getGate(){
assertThat(fInstance1.getGate()).describedAs("get departure time of flight isntance").isEqualTo("G15");
assertThat(fInstance1.getGate()).describedAs("get gate number of flight isntance").isEqualTo("G15");
} }
@Test
void getStatus(){
assertThat(fInstance1.getStatus()).describedAs("get status of flight isntance").isEqualTo(InAir);
}
} }
Loading…
Cancel
Save