Hi,
Say if i had the following interface mocked in (NMock). How could i check that email.Subject = 'xyz' ?
Currently im doing something like
IEmailService s = mocks.NewMock<IEmailService>();
Expect.Once.On(s).Method("Send").With(?????)
s.Send(new Email { Subject = 'rarr' });
mocks.Verify...();
interface EmailService { void SendEmail(Email email); }