DeveloperUtilsFragmentController { @AppAction(EmrConstants.APP_DEVELOPER) public SimpleObject getReportProfilingEnabled() { return SimpleObject.create("enabled", Level.TRACE.equals(LogManager.getLogger(EvaluationProfiler.class).getLevel())); }  @AppAction(EmrConstants.APP_DEVELOPER) SimpleObject executeGroovy(@RequestParam("script") String script); @AppAction(EmrConstants.APP_DEVELOPER) SimpleObject getReportProfilingEnabled(); @AppAction(EmrConstants.APP_DEVELOPER) void setReportProfilingEnabled(@RequestParam("enabled") boolean enabled); @AppAction(EmrConstants.APP_DEVELOPER) List<SimpleObject> validatePatients(UiUtils ui);  }
@Test public void getReportProfilingEnabled() { Assert.assertThat(controller.getReportProfilingEnabled(), hasEntry("enabled", (Object) Boolean.FALSE)); }