Esempio n. 1
0
 @Test
 public void testGetDocumentLengthReturnsSize() throws Exception {
   assertEquals(16, OBZVaultFile.getEncryptedDocLength(_fileExisting));
 }
Esempio n. 2
0
 @Test
 public void testGetDocumentLengthReturnsZeroWhenBadFile() throws Exception {
   assertEquals(0, OBZVaultFile.getEncryptedDocLength(new File("wazongas!!!")));
 }