PropertyExistsConstraint - jnm2/nunit-docs-wiki GitHub Wiki

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...

⚠️ **GitHub.com Fallback** ⚠️