### Question:
DerbyPreferenceBean extends BaseQueryTokenizerPreferenceBean implements Cloneable, Serializable { @Override protected DerbyPreferenceBean clone() { return (DerbyPreferenceBean)super.clone(); } DerbyPreferenceBean(); boolean isReadClobsFully(); void setReadClobsFully(boolean readClobsFully);  }### Answer:
@Test public void testClone() { DerbyPreferenceBean bean1 = new DerbyPreferenceBean(); bean1.setClientName("bean1"); bean1.setClientVersion("bean1"); bean1.setInstallCustomQueryTokenizer(true); bean1.setLineComment("bean1"); bean1.setProcedureSeparator("bean1"); bean1.setReadClobsFully(true); bean1.setRemoveMultiLineComments(true); bean1.setStatementSeparator("bean1"); DerbyPreferenceBean bean2 = bean1.clone(); bean2.setClientName("bean2"); bean2.setClientVersion("bean2"); bean2.setInstallCustomQueryTokenizer(false); bean2.setLineComment("bean2"); bean2.setProcedureSeparator("bean2"); bean2.setReadClobsFully(false); bean2.setRemoveMultiLineComments(false); bean2.setStatementSeparator("bean2"); assertEquals("bean1", bean1.getClientName()); assertEquals("bean1", bean1.getClientVersion()); assertEquals(true, bean1.isInstallCustomQueryTokenizer()); assertEquals("bean1", bean1.getLineComment()); assertEquals("bean1", bean1.getProcedureSeparator()); assertEquals(true, bean1.isReadClobsFully()); assertEquals(true, bean1.isRemoveMultiLineComments()); assertEquals("bean1", bean1.getStatementSeparator()); }