public void GetRealInternal() { // Arrange var cotizacionService = new CotizacionService("Real"); // Act var result = cotizacionService.ObtenerCotizacion(); // Assert Assert.Fail(); }
public void GetDolarInternal() { // Arrange var cotizacionService = new CotizacionService("Dolar"); // Act var result = cotizacionService.ObtenerCotizacion(); // Assert Assert.IsNotNull(result); }
public VentaBl() { _ventaDal = new VentaDal(); _cotizacionService = new CotizacionService(); _vehiculoService = new VehiculoService(); }
public void Setup() { _context = new CotizacionAppContext(); _utilsService = new UtilsService(_context); _cotizacionService = new CotizacionService(_context, _utilsService); }
public void Setup() { _service = new CotizacionService(new CotizadorStub()); }
public CotizacionBL() { _cotizacionService = new CotizacionService(); }
public Task <ValorCotizacion> Get(string moneda) { var cotizacionService = new CotizacionService(moneda); return(cotizacionService.ObtenerCotizacion()); }