MockManagerMockAll Method

Typemock Isolator Developer Guide
Create a new Mock to intercept and mock all calls made on all instances of the mocked type.
Overload List

  NameDescription
Public methodStatic memberMockAllTMockedType
Intercept and mock calls made on the all instance of TMockedType.
Public methodStatic memberMockAll(Type)
Automatically mock constructors as well, i.e. constructor code will NOT be called
Public methodStatic memberMockAllTMockedType(Constructor)
Intercept and mock calls made on the all instance of TMockedType, with constructor behavior control
Public methodStatic memberMockAll(Type, Boolean)
Create a new Type Mock for all instances of the type, with ability to decide if Constructors should be mocked or not
Public methodStatic memberMockAll(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)
Top
See Also

Reference