### Question:
CloudIdentity { @Override public CloudIdentity clone() { CloudIdentity cloudIdentityCopy = new CloudIdentity(); cloudIdentityCopy.id = this.id; cloudIdentityCopy.identityUrl = this.identityUrl; cloudIdentityCopy.msoId = this.msoId; cloudIdentityCopy.msoPass = this.msoPass; cloudIdentityCopy.adminTenant = this.adminTenant; cloudIdentityCopy.memberRole = this.memberRole; cloudIdentityCopy.tenantMetadata = this.tenantMetadata; cloudIdentityCopy.identityServerType = this.identityServerType; cloudIdentityCopy.identityAuthenticationType = this.identityAuthenticationType; cloudIdentityCopy.projectDomainName = this.projectDomainName; cloudIdentityCopy.userDomainName = this.userDomainName; return cloudIdentityCopy; } CloudIdentity(); String getId(); void setId(String id); String getIdentityUrl(); void setIdentityUrl(String url); String getMsoId(); void setMsoId(String id); String getMsoPass(); void setMsoPass(String pwd); String getAdminTenant(); String getLastUpdatedBy(); Date getCreated(); Date getUpdated(); void setLastUpdatedBy(String lastUpdatedBy); void setCreated(Date created); void setUpdated(Date updated); void setAdminTenant(String tenant); String getMemberRole(); void setMemberRole(String role); Boolean getTenantMetadata(); void setTenantMetadata(Boolean meta); ServerType getIdentityServerType(); void setIdentityServerType(ServerType ist); String getIdentityServerTypeAsString(); AuthenticationType getIdentityAuthenticationType(); void setIdentityAuthenticationType(AuthenticationType identityAuthenticationType); String getProjectDomainName(); void setProjectDomainName(String projectDomainName); String getUserDomainName(); void setUserDomainName(String userDomainName); @Override CloudIdentity clone(); @Override String toString(); @Override boolean equals(final Object other); @Override int hashCode();  }### Answer:
@Test public void cloneTest() { cloudIdentity = setupCloudIdentity(cloudIdentity, ID, IDENTITY_URL, MSO_ID, MSO_PASS, ADMIN_TENANT, MEMBER_ROLE, TENANT_METADATA, ServerType.ORM, AuthenticationType.USERNAME_PASSWORD); CloudIdentity cloudIdentity2 = cloudIdentity.clone(); assertEquals(cloudIdentity.getClass(), cloudIdentity2.getClass()); }