pgeMetadata.replaceMetadata(CONFIG_FILE_PATH, CONFIG_FILE);
pgeMetadata.replaceMetadata("INPUT_FILE_1", "src/test/resources/data-file-1.txt");
pgeMetadata.replaceMetadata("INPUT_FILE_2", "src/test/resources/data-file-2.txt");
pgeMetadata.replaceMetadata("WORKING_DIR", "/tmp");
pgeMetadata.markAsDynamicMetadataKey();
pgeMetadata.commitMarkedDynamicMetadataKeys();
PgeConfig pgeConfig = builder.build(pgeMetadata);
// Verify metadata checks out.
assertEquals(40, pgeMetadata.asMetadata().getAllKeys().size());
assertEquals(CONFIG_FILE, pgeMetadata.getMetadata(CONFIG_FILE_PATH));