### Question:
LexicalLibOpenNlpImpl implements LexicalLib { @Override public List<String> extractSentences(String text) { String[] sentences = sentenceDetector.sentDetect(text); return newArrayList(sentences); } @Inject protected  LexicalLibOpenNlpImpl(
      TokenizerProvider tokenizerProvider,
      SentenceDetectorProvider sentenceProvider,
      PosTaggerProvider posProvider,
      ChunkerProvider chunkerProvider); @Override List<String> extractSentences(String text); @Override List<PosToken> tagPOS(String sentence); @Override List<Token<String>> getChunks(String text); @Override @Beta List<Token<String>> getEntities(String text);  }### Answer:
@Test public void testExtractSentences() { assertEquals("Should be three sentences.", 3, lexLib.extractSentences(joinedText).size()); assertEquals("Sentences should match.", sentenceFragments, lexLib.extractSentences(joinedText)); }