MockMethodSettings Method

Typemock Isolator Developer Guide
Perform Behavior tweaking on methods rather then the whole mocked type

Namespace:  TypeMock
Assembly:  TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax

public IMethodSettings MethodSettings(
	string methodName
)

Parameters

methodName
Type: SystemString
Name of method

Return Value

Type: IMethodSettings
Interface to change method Behavior

Implements

IMockControlMethodSettings(String)
Remarks

Currently you can set Strictness and CallEventHandler. Properties and indexes can be tweaked using MethodSettingsGetProperty(String), MethodSettingsSetProperty(String), MethodSettingsGetIndex and MethodSettingsSetIndex
See Also

Reference