private static ParseResult GetQuitParseResult() { var command = new QuitCommand(); var validator = new QuitValidator(); return(new ParseResult { Command = command, Validator = validator, }); }
public void QuitValidator() { // arrange var spreadSheet = new SpreadSheet(); var command = new QuitCommand(); var validator = new QuitValidator(); // act validator.Validate(spreadSheet, command); // assert Assert.IsTrue(true); }