Write a real UnitTest for NH events is really hard.Is better to write a behavior test to check the final real behavior. In some case you can use NH-Statistics and/or LogSpy.
Bye. 2008/9/29 David Gardiner <[EMAIL PROTECTED]> > > Hi there, > > we've implemented a class that inherits from > DefaultDeleteEventListener and I'd like to write some unit test around > it, but I'm stuck when i get to trying to mock the EntityEntry class - > it's sealed and i can't figure out how to make a pretend version for > the test. > > Is there any way to do this? > > -dave > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
