### Question:
ResourceToModelAdapterUpdater { @Activate protected void activate(Configuration configuration, BundleContext context) { this.configuration = configuration; this.context = context; this.executorService = newSingleThreadExecutor(); registerModelAdapter(); }  void refresh();  }### Answer:
@Test public void testDisablingAdaptationFromRequest() { withAdaptationFromRequestDisabled(); activate(); assertAdaptablesPropertyIs(Resource.class.getName()); }