### Question:
OraclePreferenceBean extends BaseQueryTokenizerPreferenceBean implements Cloneable, Serializable { public OraclePreferenceBean clone() { return (OraclePreferenceBean) super.clone(); } OraclePreferenceBean(); OraclePreferenceBean clone(); void setExcludeRecycleBinTables(boolean excludeRecycleBinTables); boolean isExcludeRecycleBinTables(); boolean isShowErrorOffset(); void setShowErrorOffset(boolean showErrorOffset); void setSessionTimezone(String sessionTimezone); String getSessionTimezone(); void setInitSessionTimezone(boolean initSessionTimezone); boolean getInitSessionTimezone();  }### Answer:
@Test public void testClone() { OraclePreferenceBean bean1 = new OraclePreferenceBean(); bean1.setClientName("bean1"); bean1.setClientVersion("bean1"); bean1.setExcludeRecycleBinTables(true); bean1.setInstallCustomQueryTokenizer(true); bean1.setLineComment("bean1"); bean1.setProcedureSeparator("bean1"); bean1.setRemoveMultiLineComments(true); bean1.setStatementSeparator("bean1"); OraclePreferenceBean bean2 = bean1.clone(); bean2.setClientName("bean2"); bean2.setClientVersion("bean2"); bean2.setExcludeRecycleBinTables(false); bean2.setInstallCustomQueryTokenizer(false); bean2.setLineComment("bean2"); bean2.setProcedureSeparator("bean2"); bean2.setRemoveMultiLineComments(false); bean2.setStatementSeparator("bean2"); assertEquals("bean1", bean1.getClientName()); assertEquals("bean1", bean1.getClientVersion()); assertEquals(true, bean1.isExcludeRecycleBinTables()); assertEquals(true, bean1.isInstallCustomQueryTokenizer()); assertEquals("bean1", bean1.getLineComment()); assertEquals("bean1", bean1.getProcedureSeparator()); assertEquals(true, bean1.isRemoveMultiLineComments()); assertEquals("bean1", bean1.getStatementSeparator()); }