C# Class Moq.MockExtensions

Provides additional methods on mocks.
Those methods are useful for Testeroids support.
Datei anzeigen Open project: moq/moq4

Public Methods

Method Description
Reset ( this mock ) : void

Resets mock state, including setups and any previously made calls.

ResetCalls ( this mock ) : void

Resets the calls previously made on the specified mock.

Method Details

Reset() public static method

Resets mock state, including setups and any previously made calls.
public static Reset ( this mock ) : void
mock this The mock that needs to be reset.
return void

ResetCalls() public static method

Resets the calls previously made on the specified mock.
public static ResetCalls ( this mock ) : void
mock this The mock whose calls need to be reset.
return void