### Question:
SubtitleListTranslatedSubFileReader { public void readTranslationSubtitles(SubtitleList s, File file, SubtitleFileType type, EasyJaSubObserver observer, EasyJaSubLinesSelection selection, boolean showTranslation) throws IOException, InputTextSubException { InputTextSubFile subs = getInputTextSub(file, type); s.setTranslationTitle(subs.getTitle()); s.setTranslatedSubDescription(subs.getDescription()); s.setTranslatedSubLanguage(subs.getLanguage()); s.setTranslatedSubWarnings(subs.getWarnings()); for (InputSubtitleLine translatedCaption : subs.getCaptions()) { String content = SubtitleListJapaneseSubFileReader .getContent(translatedCaption); if (content != null) { SubtitleTranslatedLine translatedLine = createTranslatedLine( translatedCaption, content); addTranslationToList(s, observer, selection, showTranslation, translatedLine); } } copyPreviousTranslationWhenNone(s); } SubtitleListTranslatedSubFileReader(int msecondsMatch,
			int msecondsApproxMatch); void readTranslationSubtitles(SubtitleList s, File file,
			SubtitleFileType type, EasyJaSubObserver observer,
			EasyJaSubLinesSelection selection, boolean showTranslation);  }### Answer:
@Test public void test() throws Exception { File fileJa = getSampleFile("sample1.jp.ass"); File file = getSampleFile("sample1.en.srt"); SubtitleList s = new SubtitleList(); new SubtitleListJapaneseSubFileReader(). readJapaneseSubtitles(s, fileJa, SubtitleFileType.ASS, new Observer(), null); new SubtitleListTranslatedSubFileReader(1000, 400). readTranslationSubtitles(s, file, SubtitleFileType.SRT, new Observer(), null, true); }