@Test//(expected=DuplicateFieldNameException.class)
public void testCreateTwoWorkAreaFunction_duplicateFields()
{

    WorkAreaConfig duplicateFieldWa2 = new WorkAreaConfig("DUP", TestData.fieldDuplicateIdOfOne.getLength(), true, TestData.newFieldList(TestData.fieldDuplicateIdOfOne),Collections.<Filter>emptyList());
    FunctionConfig badFun = new FunctionConfig("DUP", this.wa1Config, duplicateFieldWa2);
    badFun.createFunction(new GeoclientStub());
}