public void Test_CreateIf_When_Conditon_Fails()
        {
            //arrange
            string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Test4");

            //act
            Dir.CreateIf(path, () => false);

            //assert
            Assert.IsTrue(!Directory.Exists(path));
        }
        public void Test_CreateIf_When_Conditon_Satisfies()
        {
            //arrange
            string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Test3");

            //act
            Dir.CreateIf(path, () => true);

            //assert
            Assert.IsTrue(Directory.Exists(path));

            Directory.Delete(path);
        }