AddressObject newAddress = new AddressObject() { StreetAddress = "123 Main Street", ZipCode = "66204" };
Isolate.WhenCalled( () => mockUseCase.CreateAddressObject( "123 Main Street", "66204", out newAddress ) ).WithExactArguments().WillReturn( UseCaseStatus.Success );
Why, oh why does newAddress come back as NULL when I'm stepping through my code?
I want to have WithExactArguments **and** an out parameter that I can populate. How do I do that, please?