GetCommand() public method

public GetCommand ( ) : string
return string
 public void TestBodylessMessage()
 {
     var s = new MemoryStream(Encoding.UTF8.GetBytes("6\nAPP_UP"));
     var cmd = new CommandConnection(null, s);
     var msg = cmd.GetCommand();
     Trace.WriteLine(msg);
     Assert.AreEqual(msg, "APP_UP");
 }
 public void TestBodaciousMessage()
 {
     var input = "30\nMSG_BROADCAST {\"key\": \"value\"}";
     var s = new MemoryStream(Encoding.UTF8.GetBytes(input));
     var cmd = new CommandConnection(null, s);
     var msg = cmd.GetCommand();
     Trace.WriteLine(msg);
     Trace.WriteLine(input.Substring(3));
     Assert.AreEqual(msg, input.Substring(3));
 }