File: AspNetCoreTempDirectoryTests.cs
Web Access
Project: src\src\Http\WebUtilities\test\Microsoft.AspNetCore.WebUtilities.Tests.csproj (Microsoft.AspNetCore.WebUtilities.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Internal;
 
public class AspNetCoreTempDirectoryTests
{
    [Fact]
    public void GetTempDirectory_Returns_Valid_Location()
    {
        var tempDirectory = AspNetCoreTempDirectory.TempDirectory;
        Assert.NotNull(tempDirectory);
        Assert.True(Directory.Exists(tempDirectory));
    }
}