INonVoidMatchingHandlerT1, T2, T3, TResult Interface

Typemock Isolator Developer Guide

Namespace:  TypeMock.ArrangeActAssert.Fluent
Assembly:  Typemock.ArrangeActAssert (in Typemock.ArrangeActAssert.dll) Version: 9.4.1.0 (9.4.1.0)
Syntax

public interface INonVoidMatchingHandler<T1, T2, T3, TResult> : IHideObjectMethods

Type Parameters

T1
T2
T3
TResult

The INonVoidMatchingHandlerT1, T2, T3, TResult type exposes the following members.

Methods

  NameDescription
Public methodCode exampleAndArgumentsMatch
Defines a custom argument matching predicate for the method passed in using its parameter placeholders. The fake behavior specified in the following statement(s) will be returned only if this predicate is evaluated as true on the call's arguments.
Top
Remarks

This interface allows defining custom argument matching by taking the parameter placeholders provided in Isolate.WhenCalled() and defining a custom checking function around them.
See Also

Reference