public void RegisterPublisher_Success()
        {
            var result = new object[3]
            {
                1,
                "Registered [/test] as publisher of [/topic1]",
                new string[1]{"http://192.168.11.2:11112/"}
            };

            MXmlRpcClientProtocol.AllInstances.UrlSetString = (t1, t2) => { };
            MMasterProxy.AllInstances.BeginRegisterPublisherStringStringStringStringAsyncCallbackObject = (t1, t2, t3, t4, t5, t6, t7) => { t6(null); return null; };
            MMasterProxy.AllInstances.EndRegisterPublisherIAsyncResult = (t1, t2) => result;

            var client = new MasterClient(new Uri("http://localhost"));

            client.RegisterPublisherAsync("/test", "topic1", "std_msgs/String", new Uri("http://192.168.11.2:11113"))
                .Result[0].Is(new Uri("http://192.168.11.2:11112/"));
        }