### Question:
SensorResource extends AbstractBrooklynRestResource implements SensorApi { @Override public String getPlain(String application, String entityToken, String sensorName, final Boolean raw) { return (String) get(false, application, entityToken, sensorName, raw); }  @SuppressWarnings("rawtypes") @Override List<SensorSummary> list(final String application, final String entityToken); @Override Map<String, Object> batchSensorRead(final String application, final String entityToken, final Boolean raw); @Override String getPlain(String application, String entityToken, String sensorName, final Boolean raw); @Override Object get(final String application, final String entityToken, String sensorName, final Boolean raw); @SuppressWarnings({ "rawtypes", "unchecked" }) @Override void setFromMap(String application, String entityToken, Map newValues); @SuppressWarnings({ "rawtypes", "unchecked" }) @Override void set(String application, String entityToken, String sensorName, Object newValue); @Override void delete(String application, String entityToken, String sensorName);  }### Answer:
@Test public void testGetPlain() throws Exception { doSensorTest(null, MediaType.TEXT_PLAIN_TYPE, "12345 frogs"); }