Пример #1
0
        public void When__UserStore_Remove_From_Role__Expect__User_Param_Null_Exception()
        {
            Assert.ThrowsAsync(typeof(ArgumentNullException), async() =>
            {
                string roleName = "Test User";

                await _userStore.RemoveFromRoleAsync(null, roleName).ConfigureAwait(false);
            }, "Exception not thrown");
        }