### Question:
EntityConfigResource extends AbstractBrooklynRestResource implements EntityConfigApi { @Override public List<EntityConfigSummary> list(final String application, final String entityToken) { final Entity entity = brooklyn().getEntity(application, entityToken); return Lists.newArrayList(transform( entity.getEntityType().getConfigKeys(), new Function<ConfigKey<?>, EntityConfigSummary>() { @Override public EntityConfigSummary apply(ConfigKey<?> config) { return EntityTransformer.entityConfigSummary(entity, config); } })); }  @Override List<EntityConfigSummary> list(final String application, final String entityToken); @Override Map<String, Object> batchConfigRead(String application, String entityToken, Boolean raw); @Override Object get(String application, String entityToken, String configKeyName, Boolean raw); @Override String getPlain(String application, String entityToken, String configKeyName, Boolean raw); Object get(boolean preferJson, String application, String entityToken, String configKeyName, Boolean raw); @SuppressWarnings({ "rawtypes", "unchecked" }) @Override void setFromMap(String application, String entityToken, Boolean recurse, Map newValues); @SuppressWarnings({ "rawtypes", "unchecked" }) @Override void set(String application, String entityToken, String configName, Boolean recurse, Object newValue);  }### Answer:
@Test public void testList() throws Exception { List<EntityConfigSummary> entityConfigSummaries = client().resource( URI.create("/v1/applications/simple-app/entities/simple-ent/config")) .get(new GenericType<List<EntityConfigSummary>>() { }); Optional<EntityConfigSummary> configKeyOptional = Iterables.tryFind(entityConfigSummaries, new Predicate<EntityConfigSummary>() { @Override public boolean apply(@Nullable EntityConfigSummary input) { return input != null && "install.version".equals(input.getName()); } }); assertTrue(configKeyOptional.isPresent()); assertEquals(configKeyOptional.get().getType(), "java.lang.String"); assertEquals(configKeyOptional.get().getDescription(), "Suggested version"); assertFalse(configKeyOptional.get().isReconfigurable()); assertNull(configKeyOptional.get().getDefaultValue()); assertNull(configKeyOptional.get().getLabel()); assertNull(configKeyOptional.get().getPriority()); }