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