Retrieve Expectation Block, by its label name
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.8.0 (9.3.8.0)
Syntax
Parameters
- name
- Type: SystemString
The Expectation blocks label
Return Value
Type: ExpectationBlockThe Expectation block
Exceptions
| Exception | Condition |
|---|---|
| TypeMockException | Will be throw if a block doesn't exist |
See Also