### Question:
NodeTermScorer extends NodePositionScorer { @Override public float scoreInNode() throws IOException { assert this.doc() != DocsAndNodesIterator.NO_MORE_DOC; return docScorer.score(docsEnum.doc(), docsEnum.termFreqInNode()); } protected  NodeTermScorer(final Weight weight,
                           final DocsNodesAndPositionsEnum docsEnum,
                           final Similarity.ExactSimScorer docScorer); @Override int doc(); @Override float freqInNode(); @Override int pos(); @Override IntsRef node(); @Override boolean nextCandidateDocument(); @Override boolean nextNode(); @Override boolean nextPosition(); @Override float scoreInNode(); @Override boolean skipToCandidate(final int target); @Override String toString();  }### Answer:
@Test(expected=Exception.class) public void testInvalidScoreCall() throws IOException { this.addDocument("\"Renaud\" . "); final NodeScorer scorer = this.getScorer(ntq("renaud")); scorer.scoreInNode(); }