expectGetCacheModelKey();
for ( int i = 0; i < cachingModelCount; i++ )
{
MockCachingModel model = new MockCachingModel();
CachingModelElementBuilder builder = elementBuilder.cachingModelElementBuilders[i];
modelParser.parseCachingModel( builder.toXml() );
modelParserControl.setReturnValue( model );
cachingModelMap.put( builder.target, model );
}
return cachingModelMap;