MaryCache { public String lookupText(String inputtype, String outputtype, String locale, String voice, String inputtext) throws SQLException { return lookupText(inputtype, outputtype, locale, voice, null, null, null, inputtext); } MaryCache(File cacheFile, boolean clearCache); static MaryCache getCache(); static boolean haveCache(); void insertText(String inputtype, String outputtype, String locale, String voice, String inputtext, String outputtext); synchronized void insertText(String inputtype, String outputtype, String locale, String voice, String outputparams,
			String style, String effects, String inputtext, String outputtext); void insertAudio(String inputtype, String locale, String voice, String inputtext, byte[] audio); synchronized void insertAudio(String inputtype, String locale, String voice, String outputparams, String style,
			String effects, String inputtext, byte[] audio); String lookupText(String inputtype, String outputtype, String locale, String voice, String inputtext); synchronized String lookupText(String inputtype, String outputtype, String locale, String voice, String outputparams,
			String style, String effects, String inputtext); byte[] lookupAudio(String inputtype, String locale, String voice, String inputtext); synchronized byte[] lookupAudio(String inputtype, String locale, String voice, String outputparams, String style,
			String effects, String inputtext); void shutdown(); static void main(String[] args);  }
@Test public void lookupText() throws Exception { String lookupValue = c.lookupText(inputtype, outputtype, locale, voice, inputtext); assertEquals(targetValue, lookupValue); }
@Test public void lookupText2() throws Exception { String lookupValue = c.lookupText(inputtype, outputtype, locale, voice, inputtext2); assertEquals(targetValue2, lookupValue); }