BTDBTest.KeyValueDBTest.CompressibleValueLoad C# (CSharp) Method

CompressibleValueLoad() private method

private CompressibleValueLoad ( ) : void
return void
        public void CompressibleValueLoad()
        {
            using (var fileCollection = new InMemoryFileCollection())
            {
                using (IKeyValueDB db = new KeyValueDB(fileCollection))
                {
                    using (var tr = db.StartTransaction())
                    {
                        tr.CreateOrUpdateKeyValue(_key1, new byte[1000]);
                        Assert.Equal(new byte[1000], tr.GetValueAsByteArray());
                        tr.Commit();
                    }
                }
            }
        }