package info.elexis.server.core.connector.elexis;

import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

import info.elexis.server.core.connector.elexis.billable.BillingTest;
import info.elexis.server.core.connector.elexis.jpa.test.TestDatabaseInitializer;
import info.elexis.server.core.connector.elexis.services.ArtikelServiceTest;
import info.elexis.server.core.connector.elexis.services.BehandlungServiceTest;
import info.elexis.server.core.connector.elexis.services.DocHandleServiceTest;
import info.elexis.server.core.connector.elexis.services.KontaktServiceTest;

@RunWith(Suite.class)
@SuiteClasses({ ArtikelServiceTest.class, BehandlungServiceTest.class, BillingTest.class, DocHandleServiceTest.class,
		KontaktServiceTest.class })
public class AllTestsSuite {

	private static TestDatabaseInitializer initializer = new TestDatabaseInitializer();

	@BeforeClass
	public static void setupClass() {
		initializer.initializeDb();
		
		AllTestsSuite.getInitializer().initializeLaborTarif2009Tables();
		AllTestsSuite.getInitializer().initializeArzttarifePhysioLeistungTables();
		AllTestsSuite.getInitializer().initializeTarmedTables();
	}

	public static TestDatabaseInitializer getInitializer() {
		return initializer;
	}
}

@@ -565,32 +565,103 @@
 dleServiceTest;%0A
+import info.elexis.server.core.connector.elexis.services.JPAQueryTest;%0A
 import info.elex
@@ -863,17 +863,36 @@
 class,%0A%09
-%09
+JPAQueryTest.class, 
 KontaktS

Add JPAQuery Test and multiple Artikelstamm items