Use composite constraints.
Arg<object>.Is.Anything && Arg<object>.Match(x=> x.PRoperty = "a');

On Sun, Apr 19, 2009 at 12:06 PM, Peter Morris <[email protected]> wrote:

>
> > Arg<object>.Is.Anything ??
>
> That only satisfies as far as
>
>  Expect
>    ValidateStringNotNull
>        WithASingleParameter of type ValidateStringNotNullArgs
> (BrokenConstraints)
>
> and completely missed out
>
>            Where BrokenConstraints is anything
>            And Where FieldName property == "Salutation"
>            And Where ValueToCheck == "X"
>
>
> Any other ideas?
>
>
> Pete
> ====
> http://mrpmorris.blogspot.com
> http://www.AlterEgos.com - Who do you want to be?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to