示例#1
0
        public void CollabProxyClient_InstantiatedWithoutPortCache_HasValidConnection()
        {
            var theClient = new TestableCollabProxyClient();

            theClient.StartOrConnectToServer();
            Assert.IsTrue(theClient.IsConnected());
        }
示例#2
0
        public void CollabProxyClient_InstantiatedWithGoodPortCache_HasValidConnection()
        {
            var firstClient = new TestableCollabProxyClient();

            firstClient.StartOrConnectToServer();
            var secondClient = new TestableCollabProxyClient();

            secondClient.StartOrConnectToServer();
            Assert.IsTrue(secondClient.IsConnected());
        }