ConfiguredObjectRecordHandler handler = (ConfiguredObjectRecordHandler) invocation.getArguments()[0];
handler.begin();
boolean handlerContinue = true;
while(iterator.hasNext() && handlerContinue)
{
handlerContinue = handler.handle(iterator.next());
}
handler.end();
return null;
}
}).when(_durableConfigurationStore).visitConfiguredObjectRecords(any(ConfiguredObjectRecordHandler.class));