Click or drag to resize
TestUtilitiesTestProperty Method (Object, String, Object, Object)
Asserts that a property of an object has a given start value and can be successfuly changed to another value.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void TestProperty(
	Object obj,
	string propertyName,
	Object startValue,
	Object newValue
)

Parameters

obj
Type: SystemObject
The object under test.
propertyName
Type: SystemString
The name of the property to test.
startValue
Type: SystemObject
The expected starting value of the property.
newValue
Type: SystemObject
The value to write to the property - to pass the property must expose this value once it has been set.
See Also