Ejemplo n.º 1
0
        public void DataAccessUpdateTest()
        {
            var data     = new DataAccess.DataBase(Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()));
            var storedId = data.StoreFile("www.sample.com", "file.txt", @"//Storage/file1.txt", 100, string.Empty, string.Empty, DateTime.Now);
            var file     = data.GetFullFile(storedId);

            file.Should().NotBeNull();
            file.Should().BeOfType <FullFile>();
        }