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

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

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

            response.getCommandandID(path4);
            bool ExpectedCheck = response.getCheck2();
            bool resultCheck   = false;

            Assert.AreEqual(ExpectedCheck, resultCheck);
        }
예제 #3
0
        public void Test6()
        {
            EndPointsResponse response = new EndPointsResponse();

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

            Assert.AreEqual(ExpectedCommand, resultCommand);
            bool ExpectedCheck = response.getCheck2();
            bool resultCheck   = false;

            Assert.AreEqual(ExpectedCheck, resultCheck);
        }