@Test(expected = IllegalArgumentException.class) public void testCalculateLOC() throws IOException { analyzer.calculateLOC("anypath"); }
@Override public int calculateLOC(String filepath) throws IOException { throw new IllegalArgumentException("Unknown type of Analyzer, cannot calculate LOC"); }
NullAnalyzer extends SourceCodeAnalyzer { @Override public int calculateLOC(String filepath) throws IOException { throw new IllegalArgumentException("Unknown type of Analyzer, cannot calculate LOC"); } }
NullAnalyzer extends SourceCodeAnalyzer { @Override public int calculateLOC(String filepath) throws IOException { throw new IllegalArgumentException("Unknown type of Analyzer, cannot calculate LOC"); }  }
NullAnalyzer extends SourceCodeAnalyzer { @Override public int calculateLOC(String filepath) throws IOException { throw new IllegalArgumentException("Unknown type of Analyzer, cannot calculate LOC"); }  @Override int calculateLOC(String filepath); @Override int calculateNOM(String filepath); @Override int calculateNOC(String filepath); }
NullAnalyzer extends SourceCodeAnalyzer { @Override public int calculateLOC(String filepath) throws IOException { throw new IllegalArgumentException("Unknown type of Analyzer, cannot calculate LOC"); }  @Override int calculateLOC(String filepath); @Override int calculateNOM(String filepath); @Override int calculateNOC(String filepath);  }