Mocker..::..Strict Property
Gets or sets a value indicating whether this Mocker is strict.
Strict prevents certain features for automatically assuming or substituting preconfigured objects such as
IFileSystem and HttpClient.
Strict prevents private methods from being used during an invoke if public was requested. Not strict would mean
that private methods may be
substituted if the public methods are not found.
Strict prevents private constructors from being used during object creation if public was requested. Not strict
would mean that private constructors may be
substituted if the public constructors are not found.
Strict sets the MockBehavior option.
Namespace:
FastMoqAssembly: FastMoq.Core (in FastMoq.Core.dll)