Пример #1
0
        public void CopyANewSourceFile()
        {
            SetupCurrentTestFolder("test-new-source-file");

            var sourceFileInfo = new KoreFileInfo(Path.Combine(_sourceFolder, _primaryTestFileName));

            sourceFileInfo.EnsureExists();

            _kontrol.Sync();

            var destinationFileInfo = new KoreFileInfo(Path.Combine(_destinationFolder, _primaryTestFileName));

            Assert.IsTrue(destinationFileInfo.Exists);
        }
Пример #2
0
        public void CallsSyncManager()
        {
            _kontrol.Sync();

            _mockSyncManager.Verify(m => m.Sync(_kontrol.Settings));
        }