Solved the second part - how to program the Stub to return the data:
var cache = MockRepository.GenerateStub<IDataCache>();
cache[expectedCacheKey] = cachedObject;
But still haven't solved the main point of this thrust - to identify what
cache key was 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/-/cSd5YBYrXx8J.
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.