IOccurrence
Interface
Defines occurrence for a specific call.
Definition
Namespace:Telerik.JustMock.Expectations.Abstraction
Assembly:Telerik.JustMock.dll
Syntax:
C#
public interface IOccurrence
Derived Classes:
Methods
Specifies that the call must never occur.
C#
IDisposable OccursNever(string message = null)
Disposable object that can be used to disable this arrangement.
Specifies that the call must occur once.
C#
IDisposable OccursOnce(string message = null)
Disposable object that can be used to disable this arrangement.