Isolating the tested code from the behavior of newly created class instances somewhere along the chain of execution is a hard task. JustMock allows you to mock the behavior of members of class instances created at a future point in time, enabling you to isolate the tested code from such dependencies. This feature is especially handy when you mock third-party libraries, controls or tools where you have little to no control over how class instances are created.
By default, all mocks are tied to an instance and this is the expected behavior. With the IgnoreInstance expectation, you can specify that a particular arrangement should be applied to all instance of the type.