Akka.Remote.Tests.RemoteConfigSpec.Remoting_should_be_able_to_parse_AkkaProtocol_related_config_elements C# (CSharp) Method

Remoting_should_be_able_to_parse_AkkaProtocol_related_config_elements() private method

        public void Remoting_should_be_able_to_parse_AkkaProtocol_related_config_elements()
        {
            var settings = new AkkaProtocolSettings(((RemoteActorRefProvider)((ExtendedActorSystem)Sys).Provider).RemoteSettings.Config);

            //TODO fill this in when we add secure cookie support
            Assert.Equal(typeof(DeadlineFailureDetector), Type.GetType(settings.TransportFailureDetectorImplementationClass));
            Assert.Equal(TimeSpan.FromSeconds(4), settings.TransportHeartBeatInterval);
            Assert.Equal(TimeSpan.FromSeconds(20), settings.TransportFailureDetectorConfig.GetTimeSpan("acceptable-heartbeat-pause"));
        }