Capture<Properties> propertiesCaptureField = new Capture<Properties>();
Capture<Properties> propertiesCaptureAnnotation = new Capture<Properties>();
testFactoryField.preloadResources(capture(propertiesCaptureField));
testFactoryAnnotation.preloadResources(capture(propertiesCaptureAnnotation));
replay(testFactoryField);
replay(testFactoryAnnotation);
luceneCASIndexer.preloadResources(fieldDescriptions, ImmutableBiMap.of(TEST_FILTER_ANNOTATION,