### Question:
ExportCfgTask { public void setTemplatePath(Path path) { this.properties.put(ExporterConstants.TEMPLATE_PATH, path); } ExportCfgTask(HibernateToolTask parent); Properties getProperties(); void setDestinationFolder(File destinationFolder); void setMetadataDescriptor(MetadataDescriptor metadataDescriptor); void setTemplatePath(Path path); void addConfiguredProperty(Variable variable); void execute();  }### Answer:
@Test public void testSetTemplatePath() { ExportCfgTask ect = new ExportCfgTask(null); assertNull(ect.properties.get(ExporterConstants.TEMPLATE_PATH)); ect.setTemplatePath(tempdir); assertSame(tempdir, ect.properties.get(ExporterConstants.TEMPLATE_PATH)); }