Interface IMethodVerifyingMockingProvider
Optional provider capability for verifying a selected method while treating every argument as a wildcard matcher.
Namespace: FastMoq.Providers
Assembly: FastMoq.Abstractions.dll
Syntax
public interface IMethodVerifyingMockingProvider
Methods
VerifyMethod<T>(IFastMock<T>, MethodInfo, TimesSpec?)
Verifies that the specified method was invoked on the mock while treating every argument as a wildcard matcher.
Declaration
void VerifyMethod<T>(IFastMock<T> mock, MethodInfo method, TimesSpec? times = null) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| IFastMock<T> | mock | The mock to verify. |
| MethodInfo | method | The method to verify. |
| TimesSpec? | times | The expected invocation count. |
Type Parameters
| Name | Description |
|---|---|
| T | The mocked type. |