Ejemplo n.º 1
0
    public void Stat_With_MissingFile_GivesError()
    {
        var path = new PosixPath(Path.Combine(_fixture.TempFolder, "does_not_exist"));

        Assert.False(path.Exists());

        Assert.Throws <FileNotFoundException>(() => path.Stat());
    }