Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public AddAirplaneHandlerTests()
     : base(AirplaneHelper.GetAirplaneHelper())
 {
 }
Ejemplo n.º 3
0
 public AirplaneTests()
     : base(AirplaneHelper.GetAirplaneHelper())
 {
 }