### Question:
HibernateToolTask { public ExportCfgTask createExportCfg() { this.exportCfgTask = new ExportCfgTask(this); return this.exportCfgTask; }  MetadataTask createMetadata(); ExportCfgTask createExportCfg(); ExportDdlTask createExportDdl(); void execute();  }### Answer:
@Test public void testCreateExportCfg() { HibernateToolTask htt = new HibernateToolTask(); assertNull(htt.exportCfgTask); ExportCfgTask ect = htt.createExportCfg(); assertSame(ect, htt.exportCfgTask); }