Exemple #1
0
        public void Test_Touch()
        {
            // Arrange.
            using (var temp = new TemporaryFile())
            {
                // Act.
                var returned = temp.Touch();

                // Assert.
                Assert.True(temp.File.Exists);
                Assert.Same(temp, returned);
            }
        }