public void clearData() {
    resetSentence();
    mNextWordMap.clear();
  }
@Test
  public void testClearData() throws Exception {
    mNextWordDictionaryUnderTest.load();

    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "hello");
    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "menny");
    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "hello", "menny");
    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "menny", "hello");
    mNextWordDictionaryUnderTest.clearData();
    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "hello");
    assertHasNextWordsForWord(mNextWordDictionaryUnderTest, "menny");

    mNextWordDictionaryUnderTest.close();
  }