Akka.Cluster.Tests.ClusterSpec.A_cluster_must_initially_become_singleton_cluster_when_joining_itself_and_reach_convergence C# (CSharp) Method

A_cluster_must_initially_become_singleton_cluster_when_joining_itself_and_reach_convergence() private method

        public void A_cluster_must_initially_become_singleton_cluster_when_joining_itself_and_reach_convergence()
        {
            Assert.Equal(0, ClusterView.Members.Count);
            _cluster.Join(_selfAddress);
            LeaderActions(); // Joining -> Up
            AwaitCondition(() => ClusterView.IsSingletonCluster);
            Assert.Equal(_selfAddress, ClusterView.Self.Address);
            Assert.Equal(ImmutableHashSet.Create(_selfAddress), ClusterView.Members.Select(m => m.Address).ToImmutableHashSet());
            AwaitAssert(() => Assert.Equal(MemberStatus.Up, ClusterView.Status));
        }