Skip to content

PropertyExistsConstraint

Charlie Poole edited this page Jan 31, 2016 · 5 revisions

The PropertyExistsConstraint tests for the existence of a named property on an object.

Constructor

PropertyExistsConstraint(string name)

Syntax

Has.Property( string )

Examples of Use

Assert.That( someObject, Has.Property( "Version" ) );

####See also...

Clone this wiki locally