MockExpectSetIndexAndThrow Method (Exception)

Typemock Isolator Developer Guide
Expect 1 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

public IIndexSetParameters ExpectSetIndexAndThrow(
	Exception ex
)

Parameters

ex
Type: SystemException
Mocked Exception

Return Value

Type: IIndexSetParameters
Can Check Property value, see IIndexSetParameters

Implements

IMockControlExpectSetIndexAndThrow(Exception)
Exceptions

ExceptionCondition
TypeMockExceptionIf index is not found
See Also

Reference