TranslationService { public List<Translation> getCurrentTranslations() { return translationRepository.getTranslationsForDictionary(dictionaryService.currentDictionary()); } TranslationService(TranslationRepository translationRepository, DictionaryService dictionaryService); void initializeCardStates(); List<Translation> getCurrentTranslations(); void deleteTranslation(String sourcePhrase); void expandCard(int position); void minimizeCard(int position); boolean cardIsExpanded(int position); void saveTranslationContext(NewTranslation context);  }
@Test public void getCurrentTranslations_shouldReturnAllCardsByDefault() { List<Translation> translations = translationService.getCurrentTranslations(); assertEquals(translationsFromRepository, translations); }