@Test public void testGetDocument() throws Exception { InputStream is = getClassPathStore().getDocument("file1.txt"); byte[] array = FileCopyUtils.copyToByteArray(is); assertEquals(5, array.length); }
@Test public void testGetDocument() throws Exception { InputStream is = getClassPathStore().getDocument("file1.txt"); byte[] array = FileCopyUtils.copyToByteArray(is); assertEquals(5, array.length); }