public void PruebaObtenerPreguntaDeSeguridadUsuarioVacioException()
 {
     try
     {
         usuario.correo = "";
         BDLogin.ObtenerPreguntaSeguridad(usuario);
         Assert.Fail("Una excepcion se ha debido de lanzar");
     }
     catch (UsuarioVacioException err)
     {
     }
     catch (Exception e)
     {
         Assert.Fail(
             string.Format("Unexpected exception of type {0} caught: {1}",
                           e.GetType(), e.Message)
             );
     }
 }
 public void PruebaEmailErradoException()
 {
     try
     {
         usuario.correo = RecursosPUMod1.CorreoFallido;
         BDLogin.ObtenerPreguntaSeguridad(usuario);
         Assert.Fail("Una excepcion se ha debido de lanzar");
     }
     catch (EmailErradoException emailErradoException)
     {
         Assert.AreEqual("No se pudo obtener la pregunta de seguridad, el email es invalido", emailErradoException.Mensaje);
     }
     catch (Exception e)
     {
         Assert.Fail(
             string.Format("Unexpected exception of type {0} caught: {1}",
                           e.GetType(), e.Message)
             );
     }
 }