I'm not sure it's the best, but you can try look at SessionFactory's statistics counters. I've done just that in one of our integration tests.

On Sat, 02 Jul 2011 05:46:54 +0200, birchoff <[email protected]> wrote:

What is the best way to verify if a cache insert/hit/miss occured in a
unit test.

--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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/nhusers?hl=en.

Reply via email to