Hi,
I'm trying like this :
TransportBindingElement mockedTransportBindingElement =
repository.DynamicMock<TransportBindingElement> ();
SetupResult.For(mockedTransportBindingElement.Scheme).Return("http");
string scheme = mockedTransportBindingElement.Scheme; 'scheme'
continues being null;
What i'm doing wrong? Scheme is an abstract property so it should
work ( I followed this :
http://www.ayende.com/wiki/Rhino+Mocks+Setup+Result.ashx)
Thanks.
--
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.