public void CachingState_VM_InitialState_Test()
 {
     var progress = new DeferredReactiveProgress(default(ProgressValue));
     var vm = new CachingStateVm(progress);
     
     Assert.Equal(0UL, vm.CachedSize);
     Assert.Equal(0UL, vm.FinalSize);
     Assert.False(vm.IsFullyCached);
 }
        public void CachingState_VM_Progressing_Test_With_Deferred_Progress()
        {
            var progress = new DeferredReactiveProgress(default(ProgressValue));
            var vm = new CachingStateVm(progress);
            
            var reporter = new OngoingReactiveProgress1();
            reporter.Report(new ProgressValue(1,10));
            progress.SetRealReactiveProgress(reporter);

            Assert.Equal(1ul, vm.CachedSize);
            Assert.Equal(10ul, vm.FinalSize);
            Assert.False(vm.IsFullyCached);
        }