Akka.Cluster.Sharding.Tests.ClusterShardingSpec.ClusterSharding_should_be_easy_API_for_starting C# (CSharp) Method

ClusterSharding_should_be_easy_API_for_starting() private method

private ClusterSharding_should_be_easy_API_for_starting ( ) : void
return void
        public void ClusterSharding_should_be_easy_API_for_starting()
        {
            ClusterSharding_should_be_easy_to_use_with_extensions();

            Within(TimeSpan.FromSeconds(50), () =>
            {
                RunOn(() =>
                {
                    var counterRegionViaStart = ClusterSharding.Get(Sys).Start(
                        typeName: "ApiTest",
                        entityProps: Props.Create<Counter>(),
                        settings: ClusterShardingSettings.Create(Sys),
                        idExtractor: Counter.ExtractEntityId,
                        shardResolver: Counter.ExtractShardId);

                    var counterRegionViaGet = ClusterSharding.Get(Sys).ShardRegion("ApiTest");

                    Assert.Equal(counterRegionViaGet, counterRegionViaStart);
                }, _first);
                EnterBarrier("after-11");
            });
        }