runValidation(doc, ValidationStatus.INVALID);
}
@Test
public void ensureComplexStructureWithDuplicatedFieldNameIsDetected() {
TextDocument doc = new TextDocument("Borken");
setDelimiterAndQualifier(doc);
doc.setStructure(createComplexDelimitedTextStructureWithDuplicatedFieldName());
runValidation(doc, ValidationStatus.INVALID);
}