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

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

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

                respuesta = dataMapper.GetJsonDepartamento(lastModifiedDate);

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