@@ -0,0 +1,1652 @@
+package io.teiler.api.service;%0A%0Aimport io.teiler.server.Tylr;%0Aimport io.teiler.server.dto.Group;%0Aimport io.teiler.server.dto.Person;%0Aimport io.teiler.server.services.DebtService;%0Aimport io.teiler.server.services.GroupService;%0Aimport io.teiler.server.services.PersonService;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.test.context.TestPropertySource;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0A%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(classes = Tylr.class, webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)%0A@TestPropertySource(properties = %7B%22local.server.port=4567%22%7D)%0A@AutoConfigureTestDatabase%0Apublic class DebtServiceTest %7B%0A%0A    private static final String FIRST_PERSON_NAME = %22Johannes%22;%0A    private static final String SECOND_PERSON_NAME = %22Rudolf%22;%0A    private static final String THIRD_PERSON_NAME = %22Sepp%22;%0A    private static final String TEST_GROUP_NAME = %22Testgroup%22;%0A%0A    @Autowired%0A    private DebtService debtService;%0A%0A    @Autowired%0A    private PersonService personService;%0A%0A    @Autowired%0A    private GroupService groupService;%0A%0A    @Test%0A    public void testReturnZeroBalanceWithOnePersonAndNoneTransactions() %7B%0A        Group testGroup = groupService.createGroup(TEST_GROUP_NAME);%0A        String groupId = testGroup.getId();%0A        Person firstPerson = personService.createPerson(groupId, FIRST_PERSON_NAME);%0A        debtService.getDebt(groupId);%0A    %7D%0A%0A%7D%0A

add first test