nsubstitute

How stable is NSubstitute?

My company is looking to standardize on an Isolation Framework. I was looking at MS Stubs (cause Moles seemed cool and I thought I would keep it in the same framework). However, Stubs is not quite ready for prime time yet (it is still a bit buggy in normal functionality). So now I am looking at what else is out there. I have looked a...

Does NSubstitute support ref parameters?

I have the following method signature in my iterface: void SetItem(ref AddressItem item); I do a parameter constraint like this: IAddAddressForm form = Substitute.For<IAddAddressForm>(); AddressItem item = null; form.SetItem(Arg.Is(item)); But that fails because of the ref. If I take the ref out then it works fine. But I need to ...