Exemple #1
0
        public void When__UserStore_Add_Login__Expect__User_Param_Null_Exception()
        {
            Assert.ThrowsAsync(typeof(ArgumentNullException), async() =>
            {
                UserLoginInfo login = new UserLoginInfo("Google", "E5A1F645-088A-4984-A7CE-CA1D48D30F92");

                await _userStore.AddLoginAsync(null, login).ConfigureAwait(false);
            }, "Exception not thrown");
        }