final TranslationResult result = new TranslationResult();
result.setTranslatedIds(new ArrayList<Long>(Collections.nCopies(7, 0L)));
return result;
}
});
when(translationService.preCacheChart(any(Long[].class), anyInt(), anyInt(), any(SpectrumType[].class), anyFloat(),
anyFloat(), anyDouble(), anyDouble())).thenAnswer(new Answer<PreCachingResult>() {
@Override
public PreCachingResult answer(InvocationOnMock invocation) throws Throwable {
return new PreCachingResult();
}