### Question:
DefaultUserContext implements UserContext { @Override public String getStartupModule() { return prefs.get(StringUserPreference.STARTUP_MODULE.toString(), StringUtils.EMPTY); } DefaultUserContext(); @Override String getDefaultWorkspacePath(); @Override String getDefaultWorkingPath(); @Override boolean isPlaySounds(); @Override boolean isDonationNotification(); @Override boolean isFetchPremiumModules(); @Override boolean isUseSmartOutput(); @Override boolean isSaveWorkspaceOnExit(); @Override int getNumberOfLogRows(); @Override String getStartupModule(); @Override boolean isCheckForUpdates(); @Override boolean isCheckForNews(); @Override boolean isCompressionEnabled(); @Override boolean isSavePwdInWorkspaceFile(); @Override String getLocale(); @Override String getDefaultPrefix(String module); @Override void setDefaultPrefix(String module, String value); @Override void clear(); @Override void setBooleanPreference(BooleanUserPreference pref, boolean value); @Override void setIntegerPreference(IntUserPreference pref, int value); @Override void setStringPreference(StringUserPreference pref, String value);  }### Answer:
@Test public void getStartupModule() { victim.setStringPreference(StringUserPreference.STARTUP_MODULE, "ChuckNorris"); assertEquals("ChuckNorris", victim.getStartupModule()); victim.setStringPreference(StringUserPreference.STARTUP_MODULE, ""); assertTrue(isBlank(victim.getStartupModule())); }