MockStrictStatic Property

Typemock Isolator Developer Guide
Can set the static methods of a mocked type to be Strict

Namespace:  TypeMock
Assembly:  TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax

public bool StrictStatic { get; set; }

Property Value

Type: Boolean
Remarks

By default Mocked Types are NOT strict this mean that if a call to a mocked method was not expected the normal code is executed. Mocked Types Static Members can be made strict and fail if an unexpected call is made
Note Note
To set only one method to strict use: MethodSettings(String)
See Also

Reference