public void TestGetStatusDrone() { _droneFacade.GetDroneStatus().Returns(SetupTests.GetDroneStatus()); var droneController = new DronesController(_droneFacade); droneController.GetStatusDrone(); _droneFacade.Received().GetDroneStatus(); }
public ActionResult <List <StatusDroneDto> > GetStatusDrone() { return(Ok(_droneFacade.GetDroneStatus())); }