예제 #1
0
        public void GetTempFile_WhenCalled_ParentAlwaysExists()
        {
            var fs = new FileSystemImpl();

            var file = fs.GetTempFile();

            Assert.That( file.Parent.Exists, Is.True );
        }
예제 #2
0
        public void GetTempPath_WhenCalled_AlwaysExists()
        {
            var fs = new FileSystemImpl();

            var dir = fs.GetTempPath();

            Assert.That( dir.Exists, Is.True );
        }
예제 #3
0
 public void SetUp()
 {
     myFileSystem = new FileSystemImpl();
 }