-
Notifications
You must be signed in to change notification settings - Fork 158
PropertyExistsConstraint
Charlie Poole edited this page Jan 31, 2016
·
5 revisions
The PropertyExistsConstraint
tests for the existence of a named property on an object.
PropertyExistsConstraint(string name)
Has.Property( string )
Assert.That( someObject, Has.Property( "Version" ) );
####See also...
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers