@@ -0,0 +1,1019 @@
+package info.elexis.server.core.connector.elexis.services;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport ch.rgw.tools.TimeTool;%0Aimport info.elexis.server.core.connector.elexis.jpa.model.annotated.Kontakt;%0A%0Apublic abstract class AbstractServiceTest %7B%0A%0A%09public static List%3CKontakt%3E testContacts = new ArrayList%3CKontakt%3E();%0A%0A%09public static void createTestKontakt() %7B%0A%09%09Kontakt testContact = KontaktService.INSTANCE.create();%0A%09%09TimeTool timeTool = new TimeTool();%0A%09%09testContact.setDescription1(%22description1 %22 + timeTool.toString());%0A%09%09testContact.setDescription2(%22description2%22);%0A%09%09testContact.setDescription3(%22description3%22);%0A%09%09testContact.setDateOfBirth(timeTool);%0A%09%09testContacts.add(testContact);%0A%09%09KontaktService.INSTANCE.flush();%0A%09%09System.out.println(%22Created contact %22 + testContact.getLabel());%0A%09%7D%0A%0A%09public static void deleteTestKontakt() %7B%0A%09%09for (Kontakt contact : testContacts) %7B%0A%09%09%09System.out.println(%22Deleting contact %22 + contact.getLabel());%0A%09%09%09KontaktService.INSTANCE.remove(contact);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add missing AbstractServiceTest class