Solved the second part - how to program the Stub to return data:

            var cache = MockRepository.GenerateStub<IDataCache>();
            cache[expectedCacheKey] = cachedObject;

However, still not solved the main point of this post - to identify the 
cache key passed into the Indexer.

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/BkywIJbK27cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to