  @Test
  public void testConfigFieldsDefiner() {

    final String field = "UNDEFINED";
    final String value = "blah";
    
    Map<String, String> config = new HashMap<>();
    config.put(field, value);
    
    byte[] bytecode = ConfigFieldsDefiner.define(className, classFile, config);
    
    ConfigClassScanner configClassScanner = runClassScanner(className, null, bytecode);
    
    Object definedValue = configClassScanner.getPublicStaticFieldValue(field);
    assertEquals(value, definedValue);
  }