/******************************************************************************* 
 * This program is made available under the terms of the 
 * Eclipse Public License v1.0 which accompanies this distribution, 
 * and is available at http://www.eclipse.org/legal/epl-v10.html 
 * 
 * Contributors: 
 * camunda services GmbH - initial API and implementation 
 *
 ******************************************************************************/
package org.eclipse.bpmn2.modeler.core.test.importer.association;

import static org.eclipse.bpmn2.modeler.core.test.util.assertions.Bpmn2ModelAssertions.assertThat;

import org.eclipse.bpmn2.modeler.core.importer.ModelImport;
import org.eclipse.bpmn2.modeler.core.test.importer.AbstractImportBpmnModelTest;
import org.eclipse.bpmn2.modeler.core.test.util.DiagramResource;
import org.eclipse.bpmn2.modeler.core.test.util.StringUtil;
import org.junit.Test;

/**
 * 
 * @author Nico Rehwaldt
 */
public class ImportAssociationTest extends AbstractImportBpmnModelTest {
	
	@Test
	@DiagramResource
	public void testAssociateDataStore() {
		ModelImport importer = createModelImport();
		importer.execute();

		assertThat(StringUtil.toDetailsString(diagram)).contains("AssociationImpl");
	}
	
	@Test
	@DiagramResource
	public void testAssociateDataStoreByXPath() {
		ModelImport importer = createModelImport();
		importer.execute();

		assertThat(StringUtil.toDetailsString(diagram)).contains("AssociationImpl");
	}
	

	@Test
	@DiagramResource
	public void testUnresolvedAssociationOnDataStore() {
		ModelImport importer = createModelImport();
		importer.execute();
		
		assertThat(StringUtil.toDetailsString(diagram)).contains("AssociationImpl");
	}

	@Test
	@DiagramResource
	public void testResolvedAssociationOnDataStore() {
		ModelImport importer = createModelImport();
		importer.execute();

		assertThat(StringUtil.toDetailsString(diagram)).contains("AssociationImpl");
	}
}

@@ -1221,235 +1221,8 @@
 ;%0A%09%7D
-%0A%09%0A%09@Test%0A%09@DiagramResource%0A%09public void testAssociateDataStoreByXPath() %7B%0A%09%09ModelImport importer = createModelImport();%0A%09%09importer.execute();%0A%0A%09%09assertThat(StringUtil.toDetailsString(diagram)).contains(%22AssociationImpl%22);%0A%09%7D%0A%09
 %0A%0A%09@

Remove out of date test case