Verify Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image
Verifies all verifiable expectations on all mocks created by this factory.

Namespace: Moq
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)

Syntax

C#
public virtual void Verify()

Exceptions

ExceptionCondition
Moq..::..MockExceptionOne or more mocks had expectations that were not satisfied.

See Also