### Question:
LineageWriter implements ILineageWriter { @Override public void outputExecutionProfile( LineageHolder holder ) throws IOException { ExecutionProfileUtil.outputExecutionProfile( getProfileOutputStream(), holder.getExecutionProfile() ); }  @Override void outputExecutionProfile( LineageHolder holder ); @Override void outputLineageGraph( LineageHolder holder ); OutputStream getProfileOutputStream(); OutputStream getGraphOutputStream(); void setProfileOutputStream( OutputStream profileOutputStream ); void setGraphOutputStream( OutputStream graphOutputStream ); IGraphWriter getGraphWriter(); void setGraphWriter( IGraphWriter graphWriter ); @Override String getOutputStrategy(); @Override void setOutputStrategy( String strategy ); @Override void cleanOutput( LineageHolder holder );  }### Answer:
@Test public void testOutputExecutionProfile() throws Exception { writer.setProfileOutputStream( System.out ); writer.outputExecutionProfile( holder ); writer.setProfileOutputStream( null ); writer.outputExecutionProfile( holder ); }