Hi,
I was wondering if there's a way to create a "decorator" mock for an
existing object. It seems to be related to partial mocks but I haven't
found a way to do it.

my scenario is as follows :

public interface IXXX
{
     int methodA();
     int methodB();
}

public XXXProvider
{
    IXXX get()
    {
        //some factory implementatiom
    }
}

I want to mock IXXX in so for the MethodA it will return 4, and for
all other method will return the result of using some provided IXXX.

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

Reply via email to