コード例 #1
0
        public async Task CanRemoveByMember()
        {
            var timeout = new CancellationTokenSource(1000).Token;

            var(activator, identity, _) = await GetActivatedClusterIdentity(timeout);

            await _storage.RemoveMember(activator.Id, timeout);

            var storedActivation = await _storage.TryGetExistingActivation(identity, timeout);

            storedActivation.Should().BeNull();
        }