Ejemplo n.º 1
0
 @Test
 public void testSRVs() {
   try {
     List<SRV> SRVs = dbDao.getSRVs("bcs.com");
     for (SRV srv : SRVs) {
       assertNotNull(srv.gethostName());
       System.out.println(srv.gethostName());
     }
     db.close();
   } catch (Exception ex) {
     System.err.println(ex.getMessage());
   }
 }