idxConf.configureCollection(COLLECTION_CONFIG);
// this will fire the trigger
final Resource res = testCollection.createResource(BINARY_DOCUMENT_NAME, "BinaryResource");
Base64Decoder dec = new Base64Decoder();
dec.translate(BINARY_DOCUMENT_CONTENT);
res.setContent(dec.getByteArray());
testCollection.storeResource(res);
// remove the trigger for the Collection under test
idxConf.configureCollection(EMPTY_COLLECTION_CONFIG);