### Question:
GenerateConditionCommand extends AbstractCommand { public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; } GenerateConditionCommand(); File getClasspathDir(); void setClasspathDir(File classpathDir); String getConditionClassNameSuffix(); void setConditionClassNameSuffix(String conditionClassNameSuffix); String getConditionPackageName(); void setConditionPackageName(String conditionPackageName); String getConditionTemplateFileName(); void setConditionTemplateFileName(String conditionTemplateFileName); String getEntityPackageName(); void setEntityPackageName(String entityPackageName); String getEntityClassNamePattern(); void setEntityClassNamePattern(String entityClassNamePattern); String getIgnoreEntityClassNamePattern(); void setIgnoreEntityClassNamePattern(
            String ignoreEntityClassNamePattern); File getJavaFileDestDir(); void setJavaFileDestDir(File javaFileDestDir); String getJavaFileEncoding(); void setJavaFileEncoding(String javaFileEncoding); boolean isOverwrite(); void setOverwrite(boolean overwrite); String getRootPackageName(); void setRootPackageName(String rootPackageName); String getTemplateFileEncoding(); void setTemplateFileEncoding(String templateFileEncoding); File getTemplateFilePrimaryDir(); void setTemplateFilePrimaryDir(File templateFilePrimaryDir);  }### Answer:
@Test public void testInit() throws Exception { GenerateConditionCommand command = new GenerateConditionCommand(); command.setConfigPath("s2jdbc-gen-core-test.dicon"); command.setClasspathDir(new File("dir")); command.validate(); command.init(); assertNotNull(command.entityMetaReader); assertNotNull(command.conditionModelFactory); assertNotNull(command.generator); }