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 GetAircraftTypeByIdHandlerTests() : base(AircraftTypeHelper.GetAircraftTypeHelper()) { }
public AddAircraftTypeHandlerTests() : base(AircraftTypeHelper.GetAircraftTypeHelper()) { }
public AircraftTypeCreatedHandlerTests() : base(AircraftTypeHelper.GetAircraftTypeHelper()) { }
public AircraftTypeTests() : base(AircraftTypeHelper.GetAircraftTypeHelper()) { }