### Question:
ThemeExtractor implements Serializable { long getThemeLastUpdateDateFromEngine(final APISession apiSession, ThemeType themeType) throws BonitaHomeNotSetException, ServerAPIException, UnknownAPITypeException { final ThemeAPI themeAPI = getThemeAPI(apiSession); return themeAPI.getLastUpdateDate(themeType).getTime(); } ThemeExtractor(); void retrieveAndExtractCurrentTheme(File themeFolder, APISession apiSession, ThemeType themeType);  }### Answer:
@Test public void getThemeLastUpdateDateFromEngine_should_call_getLastUpdateDate_on_Engine() throws Exception { themeExtractor.getThemeLastUpdateDateFromEngine(session, ThemeType.PORTAL); verify(themeAPI).getLastUpdateDate(ThemeType.PORTAL); }