protected void createAtlas(String profileName, AtlasCreator atlasCreator)
     throws JAXBException, AtlasTestException, InterruptedException, IOException {
   String profileFile = "profiles/" + Profile.getProfileFileName(profileName);
   InputStream in = ClassLoader.getSystemResourceAsStream(profileFile);
   assertNotNull(in);
   AtlasInterface atlas = loadAtlas(in);
   createAtlas(atlas, atlasCreator);
 }
 protected AtlasInterface loadAtlas(String profileName) throws JAXBException {
   String profileFile = "profiles/" + Profile.getProfileFileName(profileName);
   InputStream in = ClassLoader.getSystemResourceAsStream(profileFile);
   assertNotNull(in);
   return loadAtlas(in);
 }