// namespace from parent.
assertTrue(mq.getMessages().isEmpty());
}
private void assertFixed(String golden, Job... inputs) {
Jobs jobs = new Jobs(mc, mq, new PluginMeta());
for (Job input : inputs) {
jobs.getJobs().add(JobEnvelope.of(input));
}
new LegacyNamespaceFixupStage().apply(jobs);
StringBuilder sb = new StringBuilder();
for (JobEnvelope env : jobs.getJobs()) {
sb.append(render(env.job.getRoot()));
sb.append('\n');
}
assertEquals(golden, sb.toString().trim());
}