IMockControlExpectGetIndex Method (Object)

Typemock Isolator Developer Guide
Expect 1 get of an Index and mock the index value

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

IIndexGetParameters ExpectGetIndex(
	Object value
)

Parameters

value
Type: SystemObject
Mocked Index Value

Return Value

Type: IIndexGetParameters
Can Check Property value, see IIndexGetParameters
Exceptions

ExceptionCondition
TypeMockExceptionIf index is not found
See Also

Reference