@Test
 public void whenGenerateHmlOutputForDestinationAndInvalidFreemarkerTemplate_thenException()
     throws Exception {
   HtmlOutputGenerator htmlOutputGenerator =
       new HtmlOutputGenerator(
           testTaxonomyHelper,
           testHtmlOutputNavigationHelper,
           TestCommonConstants.FAILURE_OUTPUT_BASE_DIRECTORY,
           TestCommonConstants.INVALID_FREEMARKER_TEMPLATE_FILE);
   htmlOutputGenerator.configureFreemarker();
   when(htmlOutputGenerator).generate(TestDestinationConstants.HILL_VALLEY_DESTINATION);
   then(caughtException())
       .isInstanceOf(DestinationOutputTemplateProcessingException.class)
       .hasMessageContaining(TestMessages.DESTINATION_OUTPUT_TEMPLATE_PROCESSING_EXCEPTION_MESSAGE)
       .hasMessageContaining(TestMessages.FREEMARKER_TEMPLATE_ERROR_MESSAGE);
 }
 @Test
 public void whenGenerateHmlOutputForDestination_thenOk() throws Exception {
   testHtmlOutputGenerator.generate(TestDestinationConstants.HILL_VALLEY_DESTINATION);
 }