public void TestServerCommand_MMFetch() { EndPoint serverAddress = new IPEndPoint(IPAddress.Parse(ip), port); using (DictionaryServiceClient dsc = new DictionaryServiceClient()) { dsc.Connect(serverAddress); string responseText = dsc.SendCommand("MMFetch 测试" + Environment.NewLine); AssertServerResponse(responseText, true, "测试"); responseText = dsc.SendCommand("MMFetch 我们一起去吧" + Environment.NewLine); AssertServerResponse(responseText, true, "我们"); } }