public void CriamosDrone()
        {
            domainModel.Drone drone = new domainModel.Drone
            {
                Autonomia = _scenarioContext.Get <int>("autonomia"), Velocidade = _scenarioContext.Get <int>("velocidade")
            };
            _droneFacade.SaveDrone(drone);

            _scenarioContext.Add("drone", drone);
        }
        public void CriarDrone()
        {
            IDroneService    _droneService    = null;
            IDroneRepository _droneRepository = new MockDroneRepository();

            DroneFacade droneFacade = new DroneFacade(_droneService, _droneRepository);


            devboost.dronedelivery.felipe.DTO.Models.Drone drone = new devboost.dronedelivery.felipe.DTO.Models.Drone {
                Autonomia = 120, Velocidade = 80
            };
            droneFacade.SaveDrone(drone);

            Assert.True(drone.Perfomance == 160);
        }
        public void ThenTheResultShouldBe(int result)
        {
            domainModel.Drone droneResult = _scenarioContext.Get <domainModel.Drone>("drone");

            Assert.True(droneResult.Perfomance == 160F);
        }