Am 12.11.2010 23:23, schrieb Beth Hechanova: > I’ve tried various permutations of PropertyConstraints, but I can’t seem > to get it quite right. > > For example, I have the object Message, with string properties ‘To’, > ‘Subject’, and a DateTime for the timestamp.
I am currently unable to test this, but
_mailBoxDataWrapper.Expect(x => x.Save (expected)).Constraints(
Rhino.Mocks.Constraints.Property.Value("To", "someone"),
Rhino.Mocks.Constraints.Property.Value("From", "someone other"));
Does not work?
Nils
signature.asc
Description: OpenPGP digital signature
