test_class.declarator: pageWithChartRenderer
test_class.modifier: private
test_class.original_string: private PageWithChartRenderer pageWithChartRenderer;
test_class.type: PageWithChartRenderer
test_class.var_name: pageWithChartRenderer
test_class.file: plugin-code/src/test/java/com/trivago/cluecumber/rendering/pages/renderering/PageRendererTest.java
test_class.identifier: PageRendererTest
test_case.body: @Test(expected = CluecumberPluginException.class)
      public void processedContentIoExceptionTest() throws Exception {
          Template template = mock(Template.class);
          doThrow(new IOException("Test", null)).when(template).process(any(PageCollection.class), any(Writer.class));
          PageCollection pageCollection = mock(PageCollection.class);
          String processedContent = pageWithChartRenderer.processedContent(template, pageCollection);
          assertThat(processedContent, is(""));
      }
test_case.class_method_signature: PageRendererTest.processedContentIoExceptionTest()
test_case.full_signature: @Test(expected = CluecumberPluginException.class) public void processedContentIoExceptionTest()
test_case.identifier: processedContentIoExceptionTest
test_case.invocations: mock process when doThrow any any mock processedContent assertThat is
test_case.modifiers: @Test(expected = CluecumberPluginException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void processedContentIoExceptionTest()
focal_class.file: plugin-code/src/main/java/com/trivago/cluecumber/rendering/pages/renderering/PageRenderer.java
focal_class.identifier: PageRenderer
focal_class.class_method_signature: PageRenderer.PageRenderer()
focal_class.full_signature: @Inject public  PageRenderer()
focal_class.identifier: PageRenderer
focal_class.modifiers: @Inject public
focal_class.parameters: ()
focal_class.signature:  PageRenderer()
focal_class.class_method_signature: PageRenderer.processedContent(final Template template, final Object pageCollection)
focal_class.full_signature:  String processedContent(final Template template, final Object pageCollection)
focal_class.identifier: processedContent
focal_class.parameters: (final Template template, final Object pageCollection)
focal_class.return: String
focal_class.signature: String processedContent(final Template template, final Object pageCollection)
focal_method.body: String processedContent(final Template template, final Object pageCollection)
              throws CluecumberPluginException {
  
          Writer stringWriter = new StringWriter();
          try {
              template.process(pageCollection, stringWriter);
          } catch (TemplateException | IOException e) {
              throw new CluecumberPluginException("Could not render page content: " + e.getMessage());
          }
          return stringWriter.toString();
      }
focal_method.class_method_signature: PageRenderer.processedContent(final Template template, final Object pageCollection)
focal_method.full_signature:  String processedContent(final Template template, final Object pageCollection)
focal_method.identifier: processedContent
focal_method.invocations: process getMessage toString
focal_method.parameters: (final Template template, final Object pageCollection)
focal_method.return: String
focal_method.signature: String processedContent(final Template template, final Object pageCollection)