Exemplo n.º 1
0
        public void TestCreateContext()
        {
            using (RpcBroker broker = new RpcBroker("", validServerPort))
            {
                if (broker.Connect())
                {
                    RpcResponse response = broker.CreateContext("XUS SIGNON");

                    Assert.AreSame(broker.CurrentContext, "XUS SIGNON");

                    broker.Disconnect();
                }
                else
                {
                    Assert.Fail("No connection");
                }
            }
        }