### Question:
CloudIdentity { @Override public boolean equals(final Object other) { if (other == null) { return false; } if (!getClass().equals(other.getClass())) { return false; } CloudIdentity castOther = (CloudIdentity) other; return new EqualsBuilder().append(getId(), castOther.getId()) .append(getIdentityUrl(), castOther.getIdentityUrl()).append(getMsoId(), castOther.getMsoId()) .append(getMsoPass(), castOther.getMsoPass()).append(getAdminTenant(), castOther.getAdminTenant()) .append(getProjectDomainName(), castOther.getProjectDomainName()) .append(getUserDomainName(), castOther.getUserDomainName()) .append(getMemberRole(), castOther.getMemberRole()) .append(getTenantMetadata(), castOther.getTenantMetadata()) .append(getIdentityServerType(), castOther.getIdentityServerType()) .append(getIdentityAuthenticationType(), castOther.getIdentityAuthenticationType()).isEquals(); } 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 final void testEncryption() throws GeneralSecurityException { String encrypted = CryptoUtils.encryptCloudConfigPassword("password"); assertTrue(encrypted != null); assertTrue(!encrypted.equals("password")); }