public void TestMethodEliminarConductor()
        {
            var gestorDAO = new GestorDAOSql();
            var conductorDAO = new ConductorDAOSql(gestorDAO);

            Assert.AreEqual(true, conductorDAO.Eliminar(10));
        }
        public void TestMethodBuscarConductor()
        {
            var gestorDAO = new GestorDAOSql();
            var conductorDAO = new ConductorDAOSql(gestorDAO);

            Assert.AreEqual("47652148", conductorDAO.Buscar("47652148").Dni);
        }
        public void TestMethodListarConductor()
        {
            var gestorDAO = new GestorDAOSql();
            var conductorDAO = new ConductorDAOSql(gestorDAO);

            conductorDAO.Listar();

            Assert.AreEqual(8, conductorDAO.Listar().Count);
        }
        public void TestMethodIngresarConductor()
        {
            var gestorDAO = new GestorDAOSql();
            var conductorDAO = new ConductorDAOSql(gestorDAO);

            var conductor = new Conductor("Victor Arturo", "León", "Touzet", "56743589", "11/05/1997", "P34151712");

            Assert.AreEqual(true, conductorDAO.Ingresar(conductor));
        }
        public void TestMethodModificarConductor()
        {
            var gestorDAO = new GestorDAOSql();
            var conductorDAO = new ConductorDAOSql(gestorDAO);

            var conductor = new Conductor("Victor", "León", "Soto", "56743589", "11/05/1997", "P34151713");
            conductor.ID = 10;

            Assert.AreEqual(true, conductorDAO.Modificar(conductor));
        }