Hello, I need to mock the NH session to test my DAL. Unfortunately, the DAL calls the DetachedCriteria.GetExecutableCriteria method, and the session mock will fail here. So I'd like to mock/stub the DetachedCriteria object. However, it is static and I'm using Rhino Mocks, which cannot mock static objects.
Is there any way I can solve the GetExecutableCriteria problem? Thanks, Dor Rotman. -- 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.
