Ejemplo n.º 1
0
 /** Test of getCantAccesos method, of class ItemRanking. */
 @Test
 public void testGetCantAccesos() {
   System.out.println("getCantAccesos");
   int expResult = 23;
   int result = instance.getCantAccesos();
   assertEquals(expResult, result);
 }
Ejemplo n.º 2
0
 /** Test of getServicio method, of class ItemRanking. */
 @Test
 public void testGetServicio() {
   System.out.println("getServicio");
   String expProv = "prov1";
   String expServ = "idServicio1";
   DTMinServicio result = instance.getServicio();
   assertEquals(expProv, result.getNicknameP());
   assertEquals(expServ, result.getIdServicio());
 }