Exemplo n.º 1
0
        public void RetornaDroneTests()
        {
            var droneTest = SetupTests.GetDrone();
            var context   = ContextProvider <felipe.DTO.Models.Drone> .GetContext(SetupTests.GetDrones());

            var droneRepository = new DroneRepository(context, _statusDroneExecutor, _droneStatusExecutor);
            var drone           = droneRepository.RetornaDrone();

            Assert.True(drone.Equals(droneTest));
        }
        public void RetornaDroneTest()
        {
            var drone = _droneRepository.RetornaDrone();

            Assert.True(drone != null);
        }