@Test
public void testSplitStringWithDefaultDelimiterEscaped()
{

    String value1 = "arg1";
    String value2 = "arg2\\|escaped";
    String value2Escaped = "arg2|escaped";
    String delimiter = configurationHelper.getProperty(ConfigurationValue.FIELD_DATA_DELIMITER);
    String delimitedString = value1 + delimiter + value2;
    List<String> splitString = herdStringHelper.splitStringWithDefaultDelimiterEscaped(delimitedString);
    assertTrue(splitString.get(0).equals(value1));
    assertTrue(splitString.get(1).equals(value2Escaped));
}