|
|
@ -0,0 +1,15 @@ |
|
|
|
package hs.fulda.de.ci.exam.project; |
|
|
|
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
import static org.assertj.core.api.Assertions.*; |
|
|
|
|
|
|
|
public class AircraftTest { |
|
|
|
@Test |
|
|
|
public void testClassAircraftConstructorName(){ |
|
|
|
Aircraft testAircraft = new Aircraft("Airbus", "Neo", 1990); |
|
|
|
assertThat(testAircraft.getName()) |
|
|
|
.describedAs("get the name of aircraft") |
|
|
|
.isEqualTo("Airbus"); |
|
|
|
} |
|
|
|
} |