public void MultipleCharWithColonAsArgumentTest() { var stringQuery = new StringQuery(new[] { "/aa:" }); Assert.AreEqual(Helpers.ErrorMessage, stringQuery.ExecuteQuery()); }
public void UnknownArgumentTest() { var stringQuery = new StringQuery(new[] { "/z" }); Assert.AreEqual(Helpers.ErrorMessage, stringQuery.ExecuteQuery()); }
public void PrintHelpTest() { var stringQuery = new StringQuery(new[] { "/?" }); Assert.AreEqual(Helpers.HelpMessage, stringQuery.ExecuteQuery()); }
public void NullAsArgumentTest() { var stringQuery = new StringQuery(null); Assert.AreEqual(Helpers.HelpMessage, stringQuery.ExecuteQuery()); }