コード例 #1
0
 public void When__UserStore_Set_Lockout_Enabled__Expect__User_Param_Null_Exception()
 {
     Assert.ThrowsAsync(typeof(ArgumentNullException), async() =>
     {
         await _userStore.SetLockoutEnabledAsync(null, false).ConfigureAwait(false);
     }, "Exception not thrown");
 }