Click or drag to resize
TestUtilitiesTestPropertyT Method (T, ExpressionFuncT, Object, Boolean)
Asserts that a bool property of an object has the given start value. Sets the property to the toggled start value and asserts that the toggled value can then be read back from the property.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void TestProperty<T>(
	T obj,
	Expression<Func<T, Object>> propertyExpression,
	bool startValue
)

Parameters

obj
Type: T
propertyExpression
Type: System.Linq.ExpressionsExpressionFuncT, Object
startValue
Type: SystemBoolean

Type Parameters

T
See Also