public async Task OnActionExecutingAsyncValid() { var validAttr = new ValidateModelStateAttribute(); var aec = MockHelpers.ActionExecutingContext(); await validAttr.OnActionExecutionAsync(aec, null); Assert.True(true); }
public void OnActionExecutingValid() { var validAttr = new ValidateModelStateAttribute(); var aec = MockHelpers.ActionExecutingContext(); validAttr.OnActionExecuting(aec); Assert.True(true); }