### Question:
EntityConfigResource extends AbstractBrooklynRestResource implements EntityConfigApi { @Override public String getPlain(String application, String entityToken, String configKeyName, Boolean raw) { return Strings.toString(get(false, application, entityToken, configKeyName, raw)); }  @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 testGetPlain() throws Exception { String configValue = client().resource( URI.create("/v1/applications/simple-app/entities/simple-ent/config/install.version")) .accept(MediaType.TEXT_PLAIN_TYPE) .get(String.class); assertEquals(configValue, "1.0.0"); }