Akka.Tests.Actor.ActorPathSpec.Create_correct_ToString_without_address C# (CSharp) Méthode

Create_correct_ToString_without_address() private méthode

private Create_correct_ToString_without_address ( ) : void
Résultat void
        public void Create_correct_ToString_without_address()
        {
            var a = new Address("akka.tcp", "mysys");
            //TODO: there must be a / after system name
            new RootActorPath(a).ToStringWithoutAddress().ShouldBe("/");
            (new RootActorPath(a) / "user").ToStringWithoutAddress().ShouldBe("/user");
            (new RootActorPath(a) / "user" / "foo").ToStringWithoutAddress().ShouldBe("/user/foo");
            (new RootActorPath(a) / "user" / "foo" / "bar").ToStringWithoutAddress().ShouldBe("/user/foo/bar");
        }