public void TestCase()
 {
     var client = new ServiceNetClient(IPAddress.Parse("127.0.0.1"), 8668);
     //client.Subscribe();
     client.SendMessage(new Message());
     for(int i = 0; i < 6 && msg == null; i++)
         Thread.Sleep(100);
     client.Disconnect();
     Assert.That(msg, Is.Not.Null);
 }