public Property Address_should_parse_from_any_valid_EndPoint(EndPoint ep)
        {
            var addr       = EndpointGenerators.ParseAddress(ep);
            var parsedAddr = Address.Parse(addr.ToString());

            return(parsedAddr.Equals(addr).Label($"Should be able to parse endpoint to address and back; expected {addr} but was {parsedAddr}"));
        }
        public Property ActorPath_Should_parse_from_any_valid_EndPoint(EndPoint ep)
        {
            var addr                = EndpointGenerators.ParseAddress(ep);
            var actorPath           = new RootActorPath(addr) / "user" / "foo";
            var serializationFormat = actorPath.ToSerializationFormat();
            var reparsedActorPath   = ActorPath.Parse(serializationFormat);

            return(actorPath.Equals(reparsedActorPath).Label($"Should be able to parse endpoint to ActorPath and back; expected {actorPath.ToSerializationFormat()} but was {reparsedActorPath.ToSerializationFormat()}"));
        }