MailTemplateConfig { @Bean public Expression ideaCreatedEmailTemplate() { return createExpressionFromFile("/email/new-idea.template"); }  @Bean Expression activationEmailTemplate(); @Bean Expression newProjectEmailTemplate(); @Bean Expression ideaCreatedEmailTemplate(); @Bean Expression ideaAcceptedEmailTemplate(); @Bean Expression ideaRejectedEmailTemplate(); @Bean Expression passwordForgottenEmailTemplate(); @Bean Expression projectPublishedEmailTemplate(); @Bean Expression projectRejectedEmailTemplate(); @Bean Expression projectDeferredEmailTemplate(); @Bean Expression projectModifiedEmailTemplate(); @Bean Expression projectCommentedEmailTemplate(); String toDefaultTemplatePath(String templatePath);  }
@Test public void ideaCreatedEmailTemplate() { Expression expression = mailTemplateConfig.ideaCreatedEmailTemplate(); assertThat(expression, is(not(nullValue()))); }