|
|
@ -0,0 +1,14 @@ |
|
|
|
package hs.fulda.de.ci.exam.project; |
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
|
|
|
|
|
|
|
|
public class AirportClassTest { |
|
|
|
@Test |
|
|
|
void test_getName(){ |
|
|
|
Airport airport = new Airport(); |
|
|
|
airport.name = "fraport"; |
|
|
|
assertThat(airport.getName()).describedAs("get list of Flights").isEqualTo("fraport"); |
|
|
|
} |
|
|
|
} |