### Question:
SquirrelPreferences implements Serializable { public int getLoginTimeout() { return _loginTimeout; } SquirrelPreferences(); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); String getNewSessionView(); synchronized void setNewSessionView(String data); SessionProperties getSessionProperties(); synchronized void setSessionProperties(SessionProperties data); MainFrameWindowState getMainFrameWindowState(); synchronized void setMainFrameWindowState(MainFrameWindowState data); boolean getTabbedStyle(); synchronized void setTabbedStyle(boolean data); boolean getUseScrollableTabbedPanesForSessionTabs(); synchronized void setUseScrollableTabbedPanesForSessionTabs(boolean data); boolean getShowTabbedStyleHint(); synchronized void setShowTabbedStyleHint(boolean data); boolean getShowContentsWhenDragging(); synchronized void setShowContentsWhenDragging(boolean data); boolean getShowMainStatusBar(); synchronized void setShowMainStatusBar(boolean data); boolean getShowMainToolBar(); synchronized void setShowMainToolBar(boolean data); boolean getShowAliasesToolBar(); synchronized void setShowAliasesToolBar(boolean data); boolean getShowDriversToolBar(); synchronized void setShowDriversToolBar(boolean data); boolean getShowColoriconsInToolbar(); synchronized void setShowColoriconsInToolbar(boolean data); boolean getShowPluginFilesInSplashScreen(); synchronized void setShowPluginFilesInSplashScreen(boolean data); int getLoginTimeout(); synchronized void setLoginTimeout(int data); int getLargeScriptStmtCount(); synchronized void setLargeScriptStmtCount(int count); int getJdbcDebugType(); synchronized void setJdbcDebugType(int data); boolean getShowToolTips(); synchronized void setShowToolTips(boolean data); boolean getUseScrollableTabbedPanes(); synchronized void setUseScrollableTabbedPanes(boolean data); boolean getMaximizeSessionSheetOnOpen(); synchronized void setMaximizeSessionSheetOnOpen(boolean data); ActionKeys[] getActionKeys(); ActionKeys getActionKeys(int idx); synchronized void setActionKeys(ActionKeys[] data); void setActionKeys(int idx, ActionKeys value); synchronized PluginStatus[] getPluginStatuses(); PluginStatus getPluginStatus(int idx); synchronized void setPluginStatuses(PluginStatus[] data); synchronized void setPluginStatus(int idx, PluginStatus value); ProxySettings getProxySettings(); IUpdateSettings getUpdateSettings(); synchronized void setUpdateSettings(IUpdateSettings data); synchronized void setProxySettings(ProxySettings data); boolean getShowLoadedDriversOnly(); synchronized void setShowLoadedDriversOnly(boolean data); boolean isFirstRun(); synchronized void setFirstRun(boolean data); boolean getConfirmSessionClose(); synchronized void setConfirmSessionClose(boolean data); boolean isFileOpenInPreviousDir(); synchronized void setFileOpenInPreviousDir(boolean data); boolean isFileOpenInSpecifiedDir(); synchronized void setFileOpenInSpecifiedDir(boolean data); String getFileSpecifiedDir(); synchronized void setFileSpecifiedDir(String data); String getFilePreviousDir(); synchronized void setFilePreviousDir(String data); boolean isJdbcDebugToStream(); boolean isJdbcDebugToWriter(); boolean isJdbcDebugDontDebug(); void doJdbcDebugToStream(); void doJdbcDebugToWriter(); void dontDoJdbcDebug(); @SuppressWarnings("unchecked") static SquirrelPreferences load(); synchronized void save(); synchronized void setWarnJreJdbcMismatch(boolean data); boolean getWarnJreJdbcMismatch(); synchronized void setWarnForUnsavedFileEdits(boolean data); boolean getWarnForUnsavedFileEdits(); synchronized void setWarnForUnsavedBufferEdits(boolean data); boolean getWarnForUnsavedBufferEdits(); synchronized void setShowSessionStartupTimeHint(boolean data); boolean getShowSessionStartupTimeHint(); synchronized void setShowDebugLogMessages(boolean data); boolean getShowDebugLogMessage(); void setShowInfoLogMessages(boolean data); boolean getShowInfoLogMessages(); void setShowErrorLogMessages(boolean data); boolean getShowErrorLogMessages(); void setSavePreferencesImmediately(boolean data); boolean getSavePreferencesImmediately(); void setSelectOnRightMouseClick(boolean selectOnRightMouseClick); boolean getSelectOnRightMouseClick(); boolean getShowPleaseWaitDialog(); void setShowPleaseWaitDialog(boolean showPleaseWaitDialog); String getPreferredLocale(); void setPreferredLocale(String locale);  }### Answer:
@Test public void testGetLoginTimeout() throws Exception { classUnderTest.setLoginTimeout(10); assertEquals(10, classUnderTest.getLoginTimeout()); }