Mock<IContext> context = new Mock<IContext>();
context.SetupAllProperties();
After that there is no property set. What is the problem here?
We use the version 4.0.10818.0
Regards.
mock.SetupAllProperties();
--
--
Post: moq...@googlegroups.com
Unsubscribe: moqdisc-u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Moq Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moqdisc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
Post: moq...@googlegroups.com
Unsubscribe: moqdisc-u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Moq Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moqdisc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thx, now I get what this method does. What I am looking for is a method which sets up all properties with mocks, so that in my case IFacade is also mocked and its properties also and so on.Is there such a method?Regards