Click or drag to resize
TestUtilitiesCreateMockInstanceT Method
Creates a Moq stub for an object but does not register it with the class factory.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Mock<T> CreateMockInstance<T>()
where T : class

Type Parameters

T

Return Value

Type: MockT
See Also