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;
	}
}

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.JPAQueryTest;
import info.elexis.server.core.connector.elexis.services.KontaktServiceTest;

@RunWith(Suite.class)
@SuiteClasses({ ArtikelServiceTest.class, BehandlungServiceTest.class, BillingTest.class, DocHandleServiceTest.class,
	JPAQueryTest.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;
	}
}

Add JPAQuery Test and multiple Artikelstamm items