private void validate(final TextConverterType textConverterType, final String textConverterLocation) {
        // Start by validating the resource.
        if (textConverterType == TextConverterType.DATA_SPLITTER) {
            final String message = xmlValidator.getInvalidXmlResourceMessage(textConverterLocation, true);
            assertThat(message.length() == 0).as(message).isTrue();
        }
    }
Tests a sample ref data CSV file and tries to transform it with XSL.
stroom-app/src/test/java/stroom/pipeline/xml/converter/datasplitter/TestDataSplitter.java