コード例 #1
0
        public void When__UserStore_Remove_Claim__Expect__User_Param_Null_Exception()
        {
            Assert.ThrowsAsync(typeof(ArgumentNullException), async() =>
            {
                Claim claim = new Claim("Delete All", "Yes");

                await _userStore.RemoveClaimAsync(null, claim).ConfigureAwait(false);
            }, "Exception not thrown");
        }