示例#1
0
        public void AddBackupDestination_DuplicateDestination_Throws()
        {
            var sc          = new SyncConfiguration("Test configuration");
            var destination = new BackupDestination("Some destination", "FileTarget");

            sc.AddBackupDestination(destination);
            var exception = Assert.Throws(typeof(DomainException), () => sc.AddBackupDestination(destination));
        }