IMockControlExpectGetIndexAndAlwaysThrow Method

Typemock Isolator Developer Guide
Expect unlimited set of an Index and mock throwing an exception

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

IIndexSetParameters ExpectGetIndexAndAlwaysThrow(
	Exception ex
)

Parameters

ex
Type: SystemException
Mocked Exception

Return Value

Type: IIndexSetParameters
Can Check Property value, see IIndexSetParameters
Exceptions

ExceptionCondition
TypeMockExceptionIf index is not found
See Also

Reference