Initializes an instance of the mock with default behavior.

Namespace:  Moq
Assembly:  Moq (in Moq.dll) Version: 2.5.1.153 (2.5.1.0)

Syntax

C#
public Mock()

Examples

CopyC#
var mock = new Mock<IFormatProvider>();

See Also