@Test
public void testGet() throws Exception {

  StoragePath storagePath = new StoragePath(ORG_ID, MP_ID, VERSION_2, MP_ELEM_ID);
  Opt<InputStream> option = repo.get(storagePath);
  assertTrue(option.isSome());
  InputStream original = null;
  InputStream repo = option.get();
  try {
    original = getClass().getClassLoader().getResourceAsStream(FILE_NAME);
    byte[] bytesFromRepo = IOUtils.toByteArray(repo);
    byte[] bytesFromClasspath = IOUtils.toByteArray(original);
    assertEquals(bytesFromClasspath.length, bytesFromRepo.length);
  } finally {
    IOUtils.closeQuietly(original);
    IOUtils.closeQuietly(repo);
  }
}