@Test public void testPassThrough() throws Exception { DictionaryServiceImpl service = new DictionaryServiceImpl(); String in = "This is a test sentence."; Assert.assertEquals(in, service.cleanUpText(in).getText()); }
@Override public Textual cleanUpText(String text) { return new TextualImpl(text); }
DictionaryServiceImpl implements DictionaryService { @Override public Textual cleanUpText(String text) { return new TextualImpl(text); } }
DictionaryServiceImpl implements DictionaryService { @Override public Textual cleanUpText(String text) { return new TextualImpl(text); }  }
DictionaryServiceImpl implements DictionaryService { @Override public Textual cleanUpText(String text) { return new TextualImpl(text); }  @Override Textual cleanUpText(String text); }
DictionaryServiceImpl implements DictionaryService { @Override public Textual cleanUpText(String text) { return new TextualImpl(text); }  @Override Textual cleanUpText(String text);  }