@Test void getProperty() { when(this.configurationSource.getProperty("property")).thenReturn("value"); assertEquals("value", this.user.getProperty("property")); }
@Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); }
DefaultUserProperties implements UserProperties { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); } }
DefaultUserProperties implements UserProperties { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); } DefaultUserProperties(ConfigurationSource configurationSource); }
DefaultUserProperties implements UserProperties { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); } DefaultUserProperties(ConfigurationSource configurationSource); @Override boolean displayHiddenDocuments(); @Override void setDisplayHiddenDocuments(boolean displayHiddenDocuments); @Override boolean isActive(); @Override void setActive(boolean isActive); @Override String getFirstName(); @Override void setFirstName(String firstName); @Override String getLastName(); @Override void setLastName(String lastName); @Override InternetAddress getEmail(); @Override void setEmail(InternetAddress emailAddress); @Override UserType getType(); @Override void setType(UserType type); @Override Editor getEditor(); @Override void setEditor(Editor editor); @Override boolean isEmailChecked(); @Override void setEmailChecked(boolean isEmailChecked); @Override T getProperty(String key, T defaultValue); @Override T getProperty(String key, Class<T> valueClass); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty(); @Override T getProperty(String key, Class<T> valueClass, T defaultValue); @Override T getProperty(String key); @Override void setProperties(Map<String, Object> properties); @Override void save(); }
DefaultUserProperties implements UserProperties { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); } DefaultUserProperties(ConfigurationSource configurationSource); @Override boolean displayHiddenDocuments(); @Override void setDisplayHiddenDocuments(boolean displayHiddenDocuments); @Override boolean isActive(); @Override void setActive(boolean isActive); @Override String getFirstName(); @Override void setFirstName(String firstName); @Override String getLastName(); @Override void setLastName(String lastName); @Override InternetAddress getEmail(); @Override void setEmail(InternetAddress emailAddress); @Override UserType getType(); @Override void setType(UserType type); @Override Editor getEditor(); @Override void setEditor(Editor editor); @Override boolean isEmailChecked(); @Override void setEmailChecked(boolean isEmailChecked); @Override T getProperty(String key, T defaultValue); @Override T getProperty(String key, Class<T> valueClass); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty(); @Override T getProperty(String key, Class<T> valueClass, T defaultValue); @Override T getProperty(String key); @Override void setProperties(Map<String, Object> properties); @Override void save();  }