test_class.declarator: templates
test_class.modifier: private
test_class.original_string: private Templates   templates;
test_class.type: Templates
test_class.var_name: templates
test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private Transformer transformer;
test_class.type: Transformer
test_class.var_name: transformer
test_class.declarator: source
test_class.modifier: private
test_class.original_string: private Source      source;
test_class.type: Source
test_class.var_name: source
test_class.declarator: xsltStreamingOutput
test_class.modifier: private
test_class.original_string: private XSLTStreamingOutput xsltStreamingOutput;
test_class.type: XSLTStreamingOutput
test_class.var_name: xsltStreamingOutput
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/provider/XSLTStreamingOutputTest.java
test_class.identifier: XSLTStreamingOutputTest
test_case.body: @Test(expected = IOException.class)
      public void throwsIoExceptionWhenCreationOfTransformerFromTemplateFails() throws Exception {
          when(templates.newTransformer()).thenThrow(new TransformerConfigurationException());
  
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          xsltStreamingOutput.write(out);
      }
test_case.class_method_signature: XSLTStreamingOutputTest.throwsIoExceptionWhenCreationOfTransformerFromTemplateFails()
test_case.full_signature: @Test(expected = IOException.class) public void throwsIoExceptionWhenCreationOfTransformerFromTemplateFails()
test_case.identifier: throwsIoExceptionWhenCreationOfTransformerFromTemplateFails
test_case.invocations: thenThrow when newTransformer write
test_case.modifiers: @Test(expected = IOException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void throwsIoExceptionWhenCreationOfTransformerFromTemplateFails()
focal_class.declarator: source
focal_class.modifier: private
focal_class.original_string: private Source    source;
focal_class.type: Source
focal_class.var_name: source
focal_class.declarator: templates
focal_class.modifier: private
focal_class.original_string: private Templates templates;
focal_class.type: Templates
focal_class.var_name: templates
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/provider/XSLTStreamingOutput.java
focal_class.identifier: XSLTStreamingOutput
focal_class.interfaces: implements StreamingOutput
focal_class.class_method_signature: XSLTStreamingOutput.XSLTStreamingOutput(Source source, Templates templates)
focal_class.full_signature: public  XSLTStreamingOutput(Source source, Templates templates)
focal_class.identifier: XSLTStreamingOutput
focal_class.modifiers: public
focal_class.parameters: (Source source, Templates templates)
focal_class.signature:  XSLTStreamingOutput(Source source, Templates templates)
focal_class.class_method_signature: XSLTStreamingOutput.write(OutputStream output)
focal_class.full_signature: @Override public void write(OutputStream output)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (OutputStream output)
focal_class.return: void
focal_class.signature: void write(OutputStream output)
focal_method.body: @Override
      public void write(OutputStream output) throws IOException {
          try {
              Transformer transformer = templates.newTransformer();
              transformer.transform(source, new StreamResult(output));
          } catch (TransformerException tre) {
              throw new IOException(tre.getMessage(), tre);
          }
      }
focal_method.class_method_signature: XSLTStreamingOutput.write(OutputStream output)
focal_method.full_signature: @Override public void write(OutputStream output)
focal_method.identifier: write
focal_method.invocations: newTransformer transform getMessage
focal_method.modifiers: @Override public
focal_method.parameters: (OutputStream output)
focal_method.return: void
focal_method.signature: void write(OutputStream output)