### Question:
ConfigurationResource { @GET @Path("/app") @Produces(MediaType.APPLICATION_JSON) public StreamflowConfig getAppConfiguration() { return streamflowConfig; } @Inject  ConfigurationResource(StreamflowConfig streamflowConfig); @GET @Path("/app") @Produces(MediaType.APPLICATION_JSON) StreamflowConfig getAppConfiguration();  }### Answer:
@Test public void getAppConfiguration() { StreamflowConfig responseConfig = resource().path("/api/config/app") .accept(MediaType.APPLICATION_JSON).get(StreamflowConfig.class); assertEquals("Response configuration should match the mocked configuration", streamflowConfig, responseConfig); }