@Test
public void testGetFileName() throws Exception {

  StaticFileServiceImpl staticFileServiceImpl = new StaticFileServiceImpl();
  staticFileServiceImpl.setOrganizationDirectoryService(orgDir);
  staticFileServiceImpl.activate(getComponentContext(null));
  staticFileServiceImpl.setSecurityService(getSecurityService());
  String imageUUID = staticFileServiceImpl.storeFile(imageFilename, new FileInputStream(imageFile));
  assertEquals(imageFile.getName(), staticFileServiceImpl.getFileName(imageUUID));
}