public void NotFail() { var command = new PhraseToken("Test One", "TestOne"); var result = command.Process(new InputStack()); Assert.Null(result); }
public void ReturnGroup(string text, string value) { var stack = new InputStack(text); var command = new PhraseToken(text, value); var result = command.Process(stack); Assert.NotNull(result); Assert.Equal(value, result.Value); }