in core/src/main/java/org/apache/sling/testing/mock/sling/MockAdapterManagerImpl.java [163:179]
protected void activate(final ComponentContext context) {
this.context = context;
// register all adapter factories bound before activation
final List<ServiceReference<AdapterFactory>> refs;
synchronized ( this.boundAdapterFactories ) {
refs = new ArrayList<ServiceReference<AdapterFactory>>(this.boundAdapterFactories);
boundAdapterFactories.clear();
}
for (final ServiceReference<AdapterFactory> reference : refs) {
registerAdapterFactory(context, reference);
}
// final "enable" this manager by setting the instance
// DISABLED IN THIS COPY OF CLASS
//SyntheticResource.setAdapterManager(this);
}