Not done yet I'm afraid.
Would it be sufficient to just have something like this?
subForIt.OpWorkedOrError("0", out optErrorMsg).Returns(x => { x[1] = "this output"; return false; });
We're looking at a (slightly) nicer syntax for this, but in the meantime would that work for you (and for anyone else interested in out/refs?))?
Hi David, can you update me on this ? I'm implementing tests for a big project and I'm short on the methods that implement out parameters.
Thanks!
You received this message because you are subscribed to the Google Groups "NSubstitute" group.