public async Task Is_In_Role_Mongo_Test() { // Arrange LetPortal.Identity.Stores.UserStore userStore = _context.GetUserStore(); // Act bool result = await userStore.IsInRoleAsync(_context.GenerateUser(), "SuperAdmin", new System.Threading.CancellationToken()); userStore.Dispose(); // Assert Assert.True(result); }