VerifyMocks Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image
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: 4.0.10827.0 (4.0.0.0)

Syntax

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

Parameters

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

See Also