Exemple #1
0
        public async Task Handle_AddAirplane_AddsToDatabase()
        {
            var aircraftTypeCreated = AircraftTypeHelper.AircraftTypeCreated();

            await HandleNotification(aircraftTypeCreated);

            var aircraftTypesList = await AircraftTypeHelper.GetAircraftTypeHelper().GetDbSet();

            var addAirplane = AirplaneHelper.ValidRequest(aircraftTypesList.First(aircraftType => aircraftType.Id == aircraftTypeCreated.Id).Id);

            await AddIntegrationTest <AddAirplane, AddAirplaneResponse>(addAirplane);
        }
 public async Task Handle_AircraftTypeCreated_AddsToDatabase()
 {
     await AddIntegrationTest(AircraftTypeHelper.AircraftTypeCreated());
 }