public void CanCancel() { var glob = new Glob(TestDir + @"\dir1\*", FileSystem); glob.Cancel(); var fs = glob.Expand().ToList(); Assert.Empty(fs); }