MockGetBlock Method

Typemock Isolator Developer Guide
Retrieve Expectation Block, by its label name

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

public ExpectationBlock GetBlock(
	string name
)

Parameters

name
Type: SystemString
The Expectation blocks label

Return Value

Type: ExpectationBlock
The Expectation block
Exceptions

ExceptionCondition
TypeMockExceptionWill be throw if a block doesn't exist
See Also

Reference