public void GetJsonServicioTest()
        {
            ServicioDataMapper target   = new ServicioDataMapper(); // TODO: Inicializar en un valor adecuado
            string             expected = string.Empty;             // TODO: Inicializar en un valor adecuado
            string             actual;

            actual = target.GetJsonServicio();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Compruebe la exactitud de este método de prueba.");
        }
Beispiel #2
0
        public string downloadServicio(long?lastModifiedDate)
        {
            string respuesta = null;

            if (lastModifiedDate != null)
            {
                ServicioDataMapper dataMapper = new ServicioDataMapper();

                respuesta = dataMapper.GetJsonServicio(lastModifiedDate);

                if (String.IsNullOrEmpty(respuesta))
                {
                    respuesta = null;
                }
            }
            return(respuesta);
        }