@Test
public void testAddSeaCloudsApplicationData() throws Exception {

    Yaml yamlParser = new Yaml();
    URL resource = Resources.getResource(TOSCA_DAM_FILE_PATH);
    Map toscaDamMap = (Map) yamlParser.load(FileUtils.openInputStream(new File(resource.getFile())));
    int oldSize = dataStore.listSeaCloudsApplicationData().size();
    SeaCloudsApplicationData seaCloudsApplicationData = new SeaCloudsApplicationData(toscaDamMap);
    dataStore.addSeaCloudsApplicationData(seaCloudsApplicationData);
    int newSize = dataStore.listSeaCloudsApplicationData().size();
    assertEquals(oldSize, newSize-1);
    SeaCloudsApplicationData seaCloudsApplicationDataById = dataStore.getSeaCloudsApplicationDataById(seaCloudsApplicationData.getSeaCloudsApplicationId());
    assertEquals(seaCloudsApplicationData, seaCloudsApplicationDataById);
}