IMockControlExpectGetAlways Method

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

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

void ExpectGetAlways(
	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 correct value type
See Also

Reference