List of usage examples for org.springframework.ui.freemarker FreeMarkerConfigurationFactoryBean createConfiguration
public Configuration createConfiguration() throws IOException, TemplateException
From source file:nl.surfnet.coin.selfservice.service.impl.EmailServiceImplTest.java
@Before public void setUp() throws Exception { emailService = new EmailServiceImpl(); FreeMarkerConfigurationFactoryBean freemarkerFactory = new FreeMarkerConfigurationFactoryBean(); freemarkerFactory.setTemplateLoaderPath("classpath:/ftl/"); freemarkerConfiguration = freemarkerFactory.createConfiguration(); emailService.setFreemarkerConfiguration(freemarkerConfiguration); MockitoAnnotations.initMocks(this); }