Is there a way to stub a single method from an abstract class and
leave all other virtual methods to invoke the original implemented
method ?
for instance in the following class :
public abstract class A
{
public virtual int Meth1()
{
return Meth2() + 1;
}
public abstract int Meth2();
}
I want to stub the Meth2 method and test for the result of Meth1.
Thanks,
Izik Shmulewitz
p.s.
sorry about the double post had some wrong clicks on the keyboard (Tab
and then space posted it.... :))
--
You received this message because you are subscribed to the Google Groups
"Rhino.Mocks" 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/rhinomocks?hl=en.