@@ -115,7 +115,7 @@ public async Task WhenEntityIsInvalidButTouched_ThenEditContextIsInvalidAsync()
115115 _subject . NotifyPropertyIncludedInForm ( _property ) ;
116116
117117 // act & assert
118- Assert . IsFalse ( await _subject . IsValidAsync ( ) ) ;
118+ Assert . That ( await _subject . IsValidAsync ( ) , Is . False ) ;
119119 }
120120
121121 [ Test ]
@@ -173,7 +173,7 @@ public async Task WhenPropertyIsInvalidButTouched_ThenEditContextIsInvalidAsync(
173173 await _subject . NotifyPropertyChangedAsync ( _property ) ;
174174
175175 // act & assert
176- Assert . IsFalse ( _subject . IsValid ( _property ) ) ;
176+ Assert . That ( _subject . IsValid ( _property ) , Is . False ) ;
177177 }
178178
179179 [ Test ]
@@ -199,7 +199,7 @@ public void WhenPropertyIsValidAndTouched_ThenEditContextIsValid()
199199 public void WhenEntityIsNotTouched_ThenEditContextIsNotModified ( )
200200 {
201201 // act & assert
202- Assert . IsFalse ( _subject . IsModified ( ) ) ;
202+ Assert . That ( _subject . IsModified ( ) , Is . False ) ;
203203 }
204204
205205 [ Test ]
@@ -216,7 +216,7 @@ public async Task WhenEntityIsTouched_ThenEditContextIsModifiedAsync()
216216 public void WhenPropertyIsNotTouched_ThenPropertyIsNotValidated ( )
217217 {
218218 // act & assert
219- Assert . IsFalse ( _subject . WasValidated ( _property ) ) ;
219+ Assert . That ( _subject . WasValidated ( _property ) , Is . False ) ;
220220 }
221221
222222 [ Test ]
@@ -237,7 +237,7 @@ public void WhenValidationMessageIsAddedToProperty_ThenPropertyIsInvalid()
237237
238238 // assert
239239 Assert . IsTrue ( _subject . WasValidated ( _property ) ) ;
240- Assert . IsFalse ( _subject . IsValid ( _property ) ) ;
240+ Assert . That ( _subject . IsValid ( _property ) , Is . False ) ;
241241 }
242242
243243 [ Test ]
@@ -258,7 +258,7 @@ public async Task WhenNestedPropertyIsTouched_ThenPropertyIsValidatedAsync()
258258
259259 // assert
260260 Assert . IsTrue ( _subject . WasValidated ( _nestedProperty ) ) ;
261- Assert . IsFalse ( _subject . IsValid ( _nestedProperty ) ) ;
261+ Assert . That ( _subject . IsValid ( _nestedProperty ) , Is . False ) ;
262262 }
263263
264264 [ Test ]
@@ -287,7 +287,7 @@ public async Task WhenNestedPropertyIsTouchedAndValid_ThenPropertyIsValidatedAnd
287287 public void WhenNestedPropertyIsNotTouched_ThenPropertyIsNotValidated ( )
288288 {
289289 // assert
290- Assert . IsFalse ( _subject . WasValidated ( _nestedProperty ) ) ;
290+ Assert . That ( _subject . WasValidated ( _nestedProperty ) , Is . False ) ;
291291 Assert . IsTrue ( _subject . IsValid ( _nestedProperty ) ) ;
292292 }
293293
0 commit comments