Exemple #1
0
 public void DefaultValidation_WithNullLocation_ThrowsNewParameterCannotBeNullException()
 {
     _locationValidatorTestHelper.DefaultValidation <ParameterCannotBeNullException>();
 }
 public void DefaultValidation_LocationWithNegativeId_TheowsArgumentOutOfRangeException(int id)
 {
     _locationValidatorTestHelper.DefaultValidation <ArgumentOutOfRangeException>(_locationTestHelper.LocationWithoutId(id), "ID needs to 0 or more");
 }