public void NonexistantFileThrows() { using (var tempFolder = new TempFolder("TempLiftProject" + Guid.NewGuid())) { Assert.Throws<FileNotFoundException>(() => LiftSorter.SortLiftFile(Path.Combine(tempFolder.Path, "bogus.lift"))); } }
public void NonexistantFileForLiftRangesDoesNotThrow() { using (var tempFolder = new TempFolder("TempLiftProject" + Guid.NewGuid())) { Assert.DoesNotThrow(() => LiftSorter.SortLiftRangesFiles(Path.Combine(tempFolder.Path, "bogus.lift-ranges"))); } }