From 1af6e92ef9d698a1ae6dce5b2cd5932be92e75f9 Mon Sep 17 00:00:00 2001 From: Imron Date: Wed, 26 Jan 2022 14:05:54 +0100 Subject: [PATCH] get gate number of flight instance --- .../java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java b/src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java index 1f66143..77b3b22 100644 --- a/src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java +++ b/src/test/java/hs/fulda/de/ci/exam/project/FlightInstanceTest.java @@ -17,4 +17,9 @@ class FlightInstanceTest { assertThat(fInstance1.getDepartureTime()).describedAs("get departure time of flight isntance").isEqualTo(Time.valueOf("13:45:40")); } + @Test + void getGate(){ + assertThat(fInstance1.getGate()).describedAs("get departure time of flight isntance").isEqualTo("G15"); + } + } \ No newline at end of file