public void When__UserStore_Has_Password__Expect__User_Null_Exception() { Assert.ThrowsAsync(typeof(NullReferenceException), async() => { await _userStore.HasPasswordAsync(null).ConfigureAwait(false); }, "Exception not thrown"); }