public void ValidateFile_SimpleLift_ReturnsNull() { var handler = new LiftFileHandler(); using(var file = new TempFile("<lift/>")) { var result = handler.ValidateFile(file.Path, new ConsoleProgress()); Assert.IsNull(result); } }
public void ValidateFile_IllFormedXml_ReturnsProblem() { var handler = new LiftFileHandler(); using (var file = new TempFile("<lift>")) { var result = handler.ValidateFile(file.Path, new ConsoleProgress()); Assert.IsNotNull(result); } }