public void GetLineaStringAEncabezado()
        {
            var streamReader = new StreamReader(@"C:\Users\Ivan\Desktop\ivanoliver.com.db.dns");
            var parsearFicheroZona = new ParsearFicheroZona(streamReader);
            var result = parsearFicheroZona.GetLineaStringA("ftp");

            Assert.AreEqual(1, result.Count);
        }
        public void GetLineasCname()
        {
            var streamReader = new StreamReader(@"C:\Users\Ivan\Desktop\ivanoliver.com.db.dns");
            var parsearFicheroZona = new ParsearFicheroZona(streamReader);
            var result = parsearFicheroZona.GetLineasCname();

            Assert.AreEqual(2, result.Count);
        }
 public void GetLineasZonaTest1()
 {
     var streamReader = new StreamReader(@"C:\Users\Ivan\Desktop\adiosssss.com.txt");
     var parsearFicheroZona = new ParsearFicheroZona(streamReader);
     var result = parsearFicheroZona.GetLineasZona();
     Assert.AreEqual(7, result.Count);
 }
 public void GetLineasZonaTest3()
 {
     var streamReader = new StreamReader(@"C:\Users\Ivan\Desktop\hola.com.db.dns");
     var parsearFicheroZona = new ParsearFicheroZona(streamReader);
     var result = parsearFicheroZona.GetLineasZona();
     Assert.AreEqual(6, result.Count);
 }
        public void GetLineaStringTiempoVida()
        {
            var streamReader = new StreamReader(@"C:\Users\Ivan\Desktop\ivanoliver.com.db.dns");
            var parsearFicheroZona = new ParsearFicheroZona(streamReader);
            var result = parsearFicheroZona.GetLineaStringTiempoVida();

            Assert.IsNotNull(result);
        }