Expect a number of calls from method
            
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.8.0 (9.3.8.0)
Syntax
Parameters
- method
 - Type: SystemString
Method Name - timesToRun
 - Type: SystemInt32
Number of times to expect the call - genericTypes
 - Type: SystemType
List of generic types, to mock bounded generic methods 
Return Value
Type: IParametersCan Check Parameters, see IParameters
Implements
IMockControlExpectCall(String, Int32, Type)Exceptions
| Exception | Condition | 
|---|---|
| TypeMockException | If method not found or is not void | 
See Also