" </customMetadata>",
"</pgeConfig>"));
PGETaskInstance pgeTask = createTestInstance();
pgeTask.pgeMetadata.replaceMetadata(CONFIG_FILE_PATH,
pgeConfigFile.getAbsolutePath());
PgeConfig pgeConfig = pgeTask.createPgeConfig();
assertNotNull(pgeConfig);
assertEquals(VALUE, pgeTask.pgeMetadata.getMetadata(KEY));
pgeTask = createTestInstance();
pgeTask.pgeMetadata.replaceMetadata(PGE_CONFIG_BUILDER,
MockPgeConfigBuilder.class.getCanonicalName());
pgeConfig = pgeTask.createPgeConfig();
assertEquals(MockPgeConfigBuilder.MOCK_EXE_DIR, pgeConfig.getExeDir());
}