Send() private méthode

private Send ( byte encodedCommand ) : void
encodedCommand byte
Résultat void
        public void udp_listener_sanity_test()
        {
            var client = new StatsdUDP(_localhostAddress, _randomUnusedLocalPort);
            client.Send("iamnotinsane!");

            Assert.That(LastPacketMessageReceived(), Is.EqualTo("iamnotinsane!"));
        }
 public void Sends_a_counter()
 {
     try
     {
         var client = new StatsdUDP(_serverName, _serverPort);
          client.Send("socket2:1|c");
     }
     catch(SocketException ex)
     {
         Assert.Fail("Socket Exception, have you setup your Statsd name and port? It's currently '{0}:{1}'. Error: {2}", _serverName, _serverPort, ex.Message);
     }
 }
 public void Sends_a_counter()
 {
     try
     {
         var client = new StatsdUDP(ServerName, ServerPort);
         client.Send("udp_integration_test:1|c");
     }
     catch(SocketException)
     {
         Assert.Fail("Socket Exception, have you set up your Statsd name and port?");
     }
 }
 public void Sends_a_counter()
 {
     try
     {
         var client = new StatsdUDP(ServerName, ServerPort);
         client.Send("socket2:1|c");
     }
     catch(SocketException ex)
     {
         Assert.Fail("Socket Exception, have you set up your Statsd name and port? Error: {0}", ex.Message);
     }
 }
 public void _udp_listener_sanity_test()
 {
     var client = new StatsdUDP(ConfigurationManager.AppSettings["StatsdServerName"],
                                Convert.ToInt32(ConfigurationManager.AppSettings["StatsdServerPort"]));
     client.Send("iamnotinsane!");
     AssertWasReceived("iamnotinsane!");
 }