@Override
    public Map<String, Object> processCsvFile(String encodedCsvData, boolean dryRun) throws JsonProcessingException {
        services = new HashMap<>();
        serviceParentChildren = new HashMap<>();
        Map<String, Object> result = super.processCsvFile(encodedCsvData, dryRun);
        if (!services.isEmpty()) {
            retrieveLegacyServiceIds();
            saveAll(dryRun);
            processServiceParentChildren(serviceParentChildren, dryRun);
        }
        return result;
    }
@Test
    void processCsvFileSuccessCreationServiceTest() throws IOException {
        String csvData = """SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS""";

        mockAdmin();
        mockconnection();

        Map<String, Object> resultMap = csvService.processCsvFile(encodeCsv(csvData), false);

        assertEquals("Bestand verwerkt", resultMap.get("result"));
        assertTrue(((ArrayList) resultMap.get("failed")).isEmpty());

        List<String> succeededArray = new ArrayList<>();
        succeededArray.add("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS");
        assertArrayEquals(((ArrayList) resultMap.get("succeeded")).toArray(), succeededArray.toArray());
    }