@Test public void testGetTemplate() throws Exception { PropertyRegistrarClassGenerator gen = new PropertyRegistrarClassGenerator( simpleCompileUnit(), AndHowCompileProcessor.class, runDate); String template = gen.getTemplate(); assertTrue(template.length() > 20); }
public String getTemplate() throws Exception { return IOUtil.getUTF8ResourceAsString(getTemplatePath()); }
PropertyRegistrarClassGenerator { public String getTemplate() throws Exception { return IOUtil.getUTF8ResourceAsString(getTemplatePath()); } }
PropertyRegistrarClassGenerator { public String getTemplate() throws Exception { return IOUtil.getUTF8ResourceAsString(getTemplatePath()); } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); }
PropertyRegistrarClassGenerator { public String getTemplate() throws Exception { return IOUtil.getUTF8ResourceAsString(getTemplatePath()); } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); String getTemplatePath(); String getTemplate(); String generateSource(); }
PropertyRegistrarClassGenerator { public String getTemplate() throws Exception { return IOUtil.getUTF8ResourceAsString(getTemplatePath()); } PropertyRegistrarClassGenerator(CompileUnit compUnit, Class<?> generatingClass, Calendar runDate); String getTemplatePath(); String getTemplate(); String generateSource();  }