DictionaryServiceImpl implements DictionaryService { public void setCommand(String c) { command = c; }  void setBinary(String b); String getBinary(); void setCommand(String c); String getCommand(); LinkedList<String> runHunspell(String text); @Override Textual cleanUpText(String text); static final String HUNSPELL_BINARY_CONFIG_KEY; static final String HUNSPELL_COMMAND_CONFIG_KEY; }
@Test public void testSetCommand() throws Exception { DictionaryServiceImpl service = new DictionaryServiceImpl(); String command = "123"; service.setCommand(command); Assert.assertEquals(command, service.getCommand()); }