IMockControlExpectGet Method (String, Object)

Typemock Isolator Developer Guide
Expect 1 get of a Property and mock the Property's value

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

void ExpectGet(
	string property,
	Object value
)

Parameters

property
Type: SystemString
Property Name
value
Type: SystemObject
Mocked value
Exceptions

ExceptionCondition
TypeMockExceptionIf property is not found or is not the correct type
See Also

Reference