### Question:
IngestFieldFilter { public void setup(Configuration conf) { fieldNameFilters = new FieldConfiguration(); fieldNameFilters.load(conf.get(dataType.typeName() + FILTER_FIELD_SUFFIX), false); fieldNameFilters.load(conf.get(dataType.typeName() + FILTER_FIELD_NAME_SUFFIX), false); logger.info("Field Name Filters for " + dataType.typeName() + ": " + fieldNameFilters); fieldValueFilters = new FieldConfiguration(conf.get(dataType.typeName() + FILTER_FIELD_VALUE_SUFFIX), true); logger.info("Field Value Filters for " + dataType.typeName() + ": " + fieldValueFilters); } IngestFieldFilter(Type dataType); void setup(Configuration conf); void apply(Multimap<String,?> fields); @Deprecated
    static final String FILTER_FIELD_SUFFIX; static final String FILTER_FIELD_NAME_SUFFIX; static final String FILTER_FIELD_VALUE_SUFFIX; static final char PAIR_DELIM; static final char VALUE_DELIM; static final char FIELD_DELIM; }### Answer:
@Test(expected = IllegalArgumentException.class) public void shouldFailOnIncorrectConfig1() { conf.set(dataType.typeName() + IngestFieldFilter.FILTER_FIELD_NAME_SUFFIX, "TOO:MANY:TOKENS,NAME:NICKNAME"); filter.setup(conf); }
@Test(expected = IllegalArgumentException.class) public void shouldFailOnIncorrectConfig2() { conf.set(dataType.typeName() + IngestFieldFilter.FILTER_FIELD_VALUE_SUFFIX, "COUNT:DOES&NOT&MATCH"); filter.setup(conf); }