public void FloodTest() { for (int i = 0; i <= 50; i++) { Assert.True(_client.isConnected()); _client.SendMessage(DateTime.Now.Ticks.ToString()); } }
public void TestConnect() { Assert.True(client.isConnected()); client.SendMessage("aaaaa bbbbbbb cccccccc"); Assert.True(client.CloseConnection()); }