DictionaryServiceImpl implements DictionaryService { public void setBinary(String b) { binary = b; }  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 testSetBinary() throws Exception { DictionaryServiceImpl service = new DictionaryServiceImpl(); String binary = "123"; service.setBinary(binary); Assert.assertEquals(binary, service.getBinary()); }