Akka.Cluster.Tools.Tests.Client.ClusterClientConfigSpec.Should_cluster_receptionist_settings_have_default_config C# (CSharp) Method

Should_cluster_receptionist_settings_have_default_config() private method

        public void Should_cluster_receptionist_settings_have_default_config()
        {
            ClusterClientReceptionist.Get(Sys);
            var config = Sys.Settings.Config.GetConfig("akka.cluster.client.receptionist");

            Assert.NotNull(config);
            Assert.Equal("receptionist", config.GetString("name"));
            Assert.Equal(string.Empty, config.GetString("role"));
            Assert.Equal(3, config.GetInt("number-of-contacts"));
            Assert.Equal(TimeSpan.FromSeconds(30), config.GetTimeSpan("response-tunnel-receive-timeout"));
            Assert.Equal(string.Empty, config.GetString("use-dispatcher"));
        }
    }