public void Test1() { EndPointsResponse response = new EndPointsResponse(); response.getCommandandID(path1); string ExpectedCommand = response.getCommand(); string resultCommand = "messages"; Assert.AreEqual(ExpectedCommand, resultCommand); }
public void TestGetshortMsg() { EndPointsResponse response = new EndPointsResponse(); response.getCommandandInfo(path6); string ExpectedCommand = response.getCommand(); string resultCommand = "text"; Assert.AreEqual(ExpectedCommand, resultCommand); }
public void TestEmptyMsg() { EndPointsResponse response = new EndPointsResponse(); response.getCommandandInfo(path5); string ExpectedCommand = response.getCommand(); string resultCommand = ""; Assert.AreEqual(ExpectedCommand, resultCommand); }
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); }