docs: public static Function<ResourceModelSourceFactory, ResourceModelSource> factoryConverter(
          final Properties configuration
      )
      {
          //nb: not using lambda due to inability to mock this class within grails tests, some conflict with cglib and
          // j8 lambdas
          return new Function<ResourceModelSourceFactory, ResourceModelSource>() {
              @Override
              public ResourceModelSource apply(final ResourceModelSourceFactory resourceModelSourceFactory) {
                  try {
                      return resourceModelSourceFactory.createResourceModelSource(configuration);
                  } catch (ConfigurationException e) {
                      throw new RuntimeException(e);
                  }
              }
          };
      }