VerifyMocks Method

Moq 2.6

Invokes verifyAction for each mock in Mocks, and accumulates the resulting MockVerificationException that might be thrown from the action.

Namespace:  Moq
Assembly:  Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)

Syntax

C#
protected virtual void VerifyMocks(
	Action<IMock> verifyAction
)

Parameters

verifyAction
Type: Action<(Of <(IMock>)>)
The action to execute against each mock.

See Also