Example #1
0
        public void Save_without_encryption()
        {
            String fileName = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());

            _sut.SaveFile(fileName, "This is content", false, false);

            var content = File.ReadAllText(fileName);

            Assert.That(content, Is.EqualTo("This is content"));
        }