@Test void getPropertyWhenSuperAdmin() { DocumentReference userDocumentReference = new DocumentReference("wiki", "space", "superadmin"); when(this.documentAccessBridge.getCurrentUserReference()).thenReturn(userDocumentReference); when(this.userReferenceResolver.resolve(userDocumentReference)).thenReturn(SuperAdminUserReference.INSTANCE); this.source.getProperty("key"); verify(this.superAdminConfigurationSource).getProperty("key"); }
@Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); }
UserPreferencesConfigurationSource extends AbstractConfigurationSource { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); } }
UserPreferencesConfigurationSource extends AbstractConfigurationSource { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); }  }
UserPreferencesConfigurationSource extends AbstractConfigurationSource { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); }  @Override T getProperty(String key, T defaultValue); @Override T getProperty(String key, Class<T> valueClass); @Override T getProperty(String key); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty(); @Override T getProperty(String key, Class<T> valueClass, T defaultValue); @Override void setProperties(Map<String, Object> properties); }
UserPreferencesConfigurationSource extends AbstractConfigurationSource { @Override public <T> T getProperty(String key, T defaultValue) { return getConfigurationSource().getProperty(key, defaultValue); }  @Override T getProperty(String key, T defaultValue); @Override T getProperty(String key, Class<T> valueClass); @Override T getProperty(String key); @Override List<String> getKeys(); @Override boolean containsKey(String key); @Override boolean isEmpty(); @Override T getProperty(String key, Class<T> valueClass, T defaultValue); @Override void setProperties(Map<String, Object> properties);  }