Click or drag to resize

NotChangedAssertions Class

Helper class to test properties/fields do not change in the Act of your test.
Inheritance Hierarchy
SystemObject
  SmartTests.AssertionsNotChangedAssertions

Namespace:  SmartTests.Assertions
Assembly:  SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax
public static class NotChangedAssertions

The NotChangedAssertions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleNotChanged(SmartAssertPlaceHolder, NotChangedKind)
Creates an Assertion that ensure object properties/fields did not change in the Act part of your test.
Public methodStatic memberCode exampleNotChanged(SmartAssertPlaceHolder, Object, NotChangedKind)
Creates an Assertion that ensure object properties/fields did not change in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExcept(SmartAssertPlaceHolder) Obsolete.
Creates an Assertion that ensure object public properties did not change, except the one involved in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExcept(SmartAssertPlaceHolder, String)
Creates an Assertion that ensure object public properties did not change, except the specified ones, in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExcept(SmartAssertPlaceHolder, NotChangedKind, String)
Creates an Assertion that ensure object properties/fields did not change, except the specified ones, in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExcept(SmartAssertPlaceHolder, Object, String)
Creates an Assertion that ensure object public properties of the specified instance did not change, except the specified ones, in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExcept(SmartAssertPlaceHolder, Object, NotChangedKind, String)
Creates an Assertion that ensure object properties/fields of the specified instance did not change, except the specified ones, in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExceptT(SmartAssertPlaceHolder, ExpressionFuncT, NotChangedKind)
Creates an Assertion that ensure object properties/fields of the specified instance did not change, except the specified ones, in the Act part of your test.
Public methodStatic memberCode exampleNotChangedExceptAct
Creates an Assertion that ensure object public properties did not change, except the one involved in the Act part of your test.
Top
See Also