public void GetTokensNotMatchReturnsNull() { // Arrange. var parser = new TaskParser(); // Act. var tokens = parser.GetTokens(""); // Assert. Assert.IsNull(tokens); }
public void GetTokensMatchReturnsTokens() { // Arrange. var parser = new TaskParser(); // Act. var tokens = parser.GetTokens(ValidSimpleSerializedTask); // Assert. Assert.AreEqual(TaskPri, tokens.Item1); Assert.AreEqual(TaskStat, tokens.Item2); Assert.AreEqual(TaskName, tokens.Item3); }