Interface
IMustBeCalled

Defines an operation that marks a expectation as must.

Definition

Namespace:Telerik.JustMock.Expectations.Abstraction

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public interface IMustBeCalled

Methods

MustBeCalled(string)

Specifies that the mock call should be invoked to pass Mock.Assert<T>(T)

Declaration

cs-api-definition
IDisposable MustBeCalled(string message = null)

Parameters

message

string

Returns

IDisposable

Disposable object that can be used to disable this arrangement.

In this article
DefinitionMethodsMustBeCalled(string)
Not finding the help you need?
Contact Support