﻿namespace DW.ELA.UnitTests.Utility
{
    using System;
    using DW.ELA.Interfaces;
    using static System.IO.Directory;
    using static System.IO.Path;

    public class TestDirectoryProvider : ILogDirectoryNameProvider
    {
        public TestDirectoryProvider()
        {
            Directory = Combine(GetTempPath(), "ELA-TEST-" + Guid.NewGuid().ToString());
            CreateDirectory(Directory);
        }

        public string Directory { get; }
    }
}
