### Question:
DefaultWorkbenchEntryPoint { void loadPreferences() { appConfigService.call((final Map<String, String> response) -> { ApplicationPreferences.setUp(response); setupMenu(); setupAdminPage(); }).loadPreferences(); } @Inject  DefaultWorkbenchEntryPoint(final Caller<AppConfigService> appConfigService,
                                      final ActivityBeansCache activityBeansCache,
                                      final DefaultWorkbenchErrorCallback defaultWorkbenchErrorCallback); @Inject void setGenericErrorPopup(final GenericErrorPopup genericErrorPopup); @AfterInitialization void startDefaultWorkbench(); @AfterInitialization void hideLoadingPopup();  }### Answer:
@Test public void loadPreferencesTest() { entryPoint.loadPreferences(); verify(entryPoint).setupMenu(); verify(entryPoint).setupAdminPage(); assertEquals("value", ApplicationPreferences.getStringPref("key")); }