public void ProviderSelectionMustCreateActorSystemWithCustomProviderSelection()
        {
            var other = ProviderSelection.ClusterActorRefProvider;
            var ps    = new ProviderSelection.Custom(other, "test");

            using (var actorSystem = ActorSystem.Create("Test1", BootstrapSetup.Create().WithActorRefProvider(ps)))
            {
                actorSystem.Settings.ProviderClass.Should().Be(ps.Fqn);
            }
        }
        public void ProviderSelectionMustCreateCustomProviderSelection()
        {
            var other = ProviderSelection.ClusterActorRefProvider;
            var ps    = new ProviderSelection.Custom(other, "cluster");

            ps.Fqn.Should()
            .Be(other);
            ps.HasCluster.Should().BeFalse();
            SettingsWith(other).ProviderClass.Should().Be(ps.Fqn);
        }