C# Класс Moq.MockExtensions

Provides additional methods on mocks.
Those methods are useful for Testeroids support.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Reset() публичный статический Метод

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.
Результат void

ResetCalls() публичный статический Метод

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.
Результат void