public void GetResultAsyncShouldReturnPassResultIfObjectIsNull(Null sut, [RuleContext] RuleContext context) { Assert.That(() => sut.GetResultAsync(null, context), Is.PassingValidationResult); }
public void GetResultAsyncShouldReturnFailResultIfObjectIsNotNull(Null sut, [RuleContext] RuleContext context, object obj) { Assert.That(() => sut.GetResultAsync(obj, context), Is.FailingValidationResult); }