public void BasePath_Get(string tempDir)
{
var collection = new TempFileCollection(tempDir);
if (Directory.Exists(tempDir))
{
Assert.StartsWith(tempDir, collection.BasePath);
}
else
{
Assert.Throws<DirectoryNotFoundException>(() => collection.BasePath);
Assert.StartsWith(tempDir, collection.BasePath);
}
}