}
@Test
public void testDataStoreUnmarshalling() throws Exception {
Bpmn2JsonUnmarshaller unmarshaller = new Bpmn2JsonUnmarshaller();
Definitions definitions = ((Definitions) unmarshaller.unmarshall(getTestJsonFile("dataStore.json"), "").getContents().get(0));
assertTrue(definitions.getRootElements().size() == 1);
assertTrue(definitions.getRootElements().iterator().next() instanceof DataStore);
DataStore da = (DataStore) definitions.getRootElements().iterator().next();
assertEquals("data store", da.getName());
definitions.eResource().save(System.out, Collections.emptyMap());