You probably would have easier time if you would write a test that uses the
full NH structure against in memory DB,rather than try mocking parts of NH.

On Mon, Sep 29, 2008 at 3:25 PM, David Gardiner <[EMAIL PROTECTED]>wrote:

>
> 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
> >
>

--~--~---------~--~----~------------~-------~--~----~
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