public void TestCopyCallbacks()
        {
            using (var m = InitTestFileSystemManipulator())
            {
                var completed = false;
                var success = false;

                var totalCounter = new CountTester(4);
                Action<int> testTotalToProcess = totalCounter.Up;
                Action<int> testCurrentlyProcessed = new CountTester(4, totalCounter).Up;

                m.Import(DummyImportFolderPath, "dummy", new ImportCallbacks());
                m.Copy("dummy", "dummy2", new CopyCallbacks(() => false, b => { completed = true; success = b; }, testTotalToProcess, testCurrentlyProcessed));
                Assert.IsTrue(m.Exists("dummy2"));

                Assert.AreEqual(completed, true);
                Assert.AreEqual(success, true);
            }
        }
 public CountTester(int max, CountTester total = null)
 {
     _max = max;
     _total = total;
     Expected = 1;
 }