Create a new Mock to intercept and mock all calls made on all instances of the mocked type.
Overload List
| Name | Description | |
|---|---|---|
| MockAllTMockedType |
Intercept and mock calls made on the all instance of TMockedType.
| |
| MockAll(Type) |
Automatically mock constructors as well, i.e. constructor code will NOT be called
| |
| MockAllTMockedType(Constructor) |
Intercept and mock calls made on the all instance of TMockedType, with constructor behavior control
| |
| MockAll(Type, Boolean) |
Create a new Type Mock for all instances of the type, with ability to decide if Constructors should be mocked or not
| |
| MockAll(Type, Constructor) |
Create a new Type Mock for all instances of the type, with ability to to define the scope of mocked Constructors (default is to mock all constructors)
|
See Also