Hi,
I am currently using the following code to verify a single parameter
input to a method. Is there a cleaner way to do this without needed
to supply Is.Any for the parameters I am not interested in?
[TestMethod]
public void ShouldCallTheAvanceServiceWithTheAValidGuid()
{
_sut.Send(_sampleInput);
_avanceInterface.AssertWasCalled(x => x.SendData(
Arg<Guid>.Is.Equal(Guid.Empty),
Arg<string>.Is.Anything,
Arg<string>.Is.Anything,
Arg<string>.Is.Anything,
Arg<string>.Is.Anything));
}
Thanks in advance,
Dan
--
You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group.
To post to this group, send email to
rhino...@googlegroups.com.
To unsubscribe from this group, send email to
rhinomocks+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rhinomocks?hl=en.