







Allows the specification of a matching condition for an
argument in a protected member expectation, rather than a specific
argument value. "ItExpr" refers to the argument being matched.
Namespace:
Moq.Protected
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
C# |
---|
public static class ItExpr |
Remarks
Use this variant of argument matching instead of It for protected expectations.
This class allows the expectation to match a method invocation with an arbitrary value, with a value in a specified range, or even one that matches a given predicate.
Inheritance Hierarchy
Object
Moq.Protected..::.ItExpr
Moq.Protected..::.ItExpr