I am a new user of MbUnit. In testing a class, I use a RhinoMock stub
which is based on an Interface.

I create the stub in the Setup fixture. If I try to reference the stub
in the Row collection, I get the following error:

An object reference is required for the non-static field, method, or
property

I was hoping I could create various instances of the stub each holding
different values and testing each of the stubs via the Row attribute.

Is there a way to do this, I should I just create different Test
methods for each stub?

Thanks, Lars
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" 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/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to