Hello,
Maybe this feature already exists, but I had the thought that it may be useful to be able to verify that a constructor call was made. For instance, if you were trying to validate this property in an object:
public ValuesCollection Values
{
get
{
if (_values == null)
_values = new ValuesCollection();
return _values;
}
}
I could then, in my test code, verify that the constructor of the ValuesCollection was called:
Isolate.Verify.ConstructorWasCalled<ValuesCollection>();