ExternalIdentityProviderDefinition extends AbstractIdentityProviderDefinition { public void setStoreCustomAttributes(boolean storeCustomAttributes) { this.storeCustomAttributes = storeCustomAttributes; }  List<String> getExternalGroupsWhitelist(); void setExternalGroupsWhitelist(List<String> externalGroupsWhitelist); @JsonIgnore void addWhiteListedGroup(String group); void setAttributeMappings(Map<String, Object> attributeMappings); Map<String, Object> getAttributeMappings(); @JsonIgnore void addAttributeMapping(String key, Object value); boolean isAddShadowUserOnLogin(); void setAddShadowUserOnLogin(boolean addShadowUserOnLogin); @Override boolean equals(Object o); @Override int hashCode(); boolean isStoreCustomAttributes(); void setStoreCustomAttributes(boolean storeCustomAttributes); static final String GROUP_ATTRIBUTE_NAME; static final String EMAIL_ATTRIBUTE_NAME; static final String GIVEN_NAME_ATTRIBUTE_NAME; static final String FAMILY_NAME_ATTRIBUTE_NAME; static final String PHONE_NUMBER_ATTRIBUTE_NAME; static final String EMAIL_VERIFIED_ATTRIBUTE_NAME; static final String USER_ATTRIBUTE_PREFIX; static final String USER_NAME_ATTRIBUTE_NAME; static final String STORE_CUSTOM_ATTRIBUTES_NAME; static final String EXTERNAL_GROUPS_WHITELIST; static final String ATTRIBUTE_MAPPINGS; }
@Test public void testEquals2() { ExternalIdentityProviderDefinition def = new ExternalIdentityProviderDefinition(); def.setStoreCustomAttributes(false); assertNotEquals(definition, def); }