Specifies that a mocked method should be invoked one time as maximun.
Namespace: Moq
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
C# |
---|
public static Times AtMostOnce() |
Return Value
An object defining the allowed number of invocations.
See Also