C# 클래스 Moq.MockExtensions

Provides additional methods on mocks.
Those methods are useful for Testeroids support.
파일 보기 프로젝트 열기: moq/moq4

공개 메소드들

메소드 설명
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