コード例 #1
0
        public void create_airplane()
        {
            Airplane airlane = new Airplane();

            airlane.name             = "Boing 730";
            airlane.flightSpeedInKMH = 800;
            airlane.fuelConsommationInLiterByFlightSecond = 1;
            IAirplanesManager airplanesManager = new AirplanesManagerMock();

            airplanesManager.createAirplane(airlane);
        }
コード例 #2
0
        public void fetch_airplanes()
        {
            IAirplanesManager airplanesManager = new AirplanesManagerMock();

            airplanesManager.fetchAllAirplanes();
        }