public async Task Doesnt_throw_NullReferenceException_when_instance_not_null_async() { var v = new BadValidatorDisablesNullCheck(); var result = await v.ValidateAsync((string)null); result.IsValid.ShouldBeTrue(); }
public void Doesnt_throw_NullReferenceException_when_instance_not_null() { var v = new BadValidatorDisablesNullCheck(); var result = v.Validate((string)null); result.IsValid.ShouldBeTrue(); }