Exemplo n.º 1
0
 @Test
 public void testHashExists() {
   byte[] chunk1 = new byte[1024];
   testlocker.dictionary.put("1", chunk1);
   Assert.assertEquals(testlocker.hashExists("1"), testlocker.dictionary.containsKey("1"));
 }