@Test public void testSetContentReader() { SourceCodeAnalyzer analyzer = new StringComparisonAnalyzer(); ContentReader expectedReader = new LocalFileReader(); analyzer.setContentReader(expectedReader); ContentReader actualReader = analyzer.getContentReader(); assertSame(expectedReader, actualReader); }
public void setContentReader(ContentReader contentReader) { this.contentReader = contentReader; }
SourceCodeAnalyzer { public void setContentReader(ContentReader contentReader) { this.contentReader = contentReader; } }
SourceCodeAnalyzer { public void setContentReader(ContentReader contentReader) { this.contentReader = contentReader; }  }
SourceCodeAnalyzer { public void setContentReader(ContentReader contentReader) { this.contentReader = contentReader; }  void setContentReader(ContentReader contentReader); ContentReader getContentReader(); abstract int calculateLOC(String filepath); abstract int calculateNOM(String filepath); abstract int calculateNOC(String filepath); }
SourceCodeAnalyzer { public void setContentReader(ContentReader contentReader) { this.contentReader = contentReader; }  void setContentReader(ContentReader contentReader); ContentReader getContentReader(); abstract int calculateLOC(String filepath); abstract int calculateNOM(String filepath); abstract int calculateNOC(String filepath);  }