Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 744 Bytes

File metadata and controls

20 lines (13 loc) · 744 Bytes

MockExtensions class

Extensions for Mock objects.

public static class MockExtensions

Public Members

name description
static SetupWithAny<T>(…) Specifies a setup on the mocked type for a call to a void method. All parameters are filled with IsAny according to the parameter's type.
static SetupWithAny<T,TResult>(…) Specifies a setup on the mocked type for a call to a non-void (value-returning) method. All parameters are filled with IsAny according to the parameter's type.

See Also