I am just starting with JustMock and have a question related to your example in documentation on this page:
http://www.telerik.com/help/justmock/basic-usage-mock-internal-types-via-proxy.html
I have classes similar to this sample ( internal is not important here it could be public ):
internal class FooInternal { internal FooInternal() { builder = new StringBuilder(); } public StringBuilder Builder { get { return builder; } } private StringBuilder builder; } What I would like to do is to get my class (FooInternal in this case) to instanciate a Mock of another class (StringBuilder here)...
The only way I can see this possible is by mocking the (FooInternal) constructor itself. Is this possible ?
Thanks !