예제 #1
0
        public void TestEmptyMsg()
        {
            EndPointsResponse response = new EndPointsResponse();

            response.getCommandandInfo(path5);
            string ExpectedCommand = response.getCommand();
            string resultCommand   = "";

            Assert.AreEqual(ExpectedCommand, resultCommand);
        }
예제 #2
0
        public void TestGetshortMsg()
        {
            EndPointsResponse response = new EndPointsResponse();

            response.getCommandandInfo(path6);
            string ExpectedCommand = response.getCommand();
            string resultCommand   = "text";

            Assert.AreEqual(ExpectedCommand, resultCommand);
        }
예제 #3
0
        public void TsetGetMsg()
        {
            EndPointsResponse response = new EndPointsResponse();

            response.getCommandandInfo(path1);
            string ExpectedCommand = response.getCommand();
            string resultCommand   = "messages";

            Assert.AreEqual(ExpectedCommand, resultCommand);
        }