Esempio n. 1
0
            public void RetunsFalse_WhenFolderDestinationIsWhitespaced()
            {
                // Arrange
                SUT appSettings;

                // Act
                appSettings = new SUT(SUT.SourceSettings.Local);
                appSettings.FilesAndFoldersDestinationPath = "   ";

                // Assert
                Assert.IsFalse(appSettings.IsDestinationProperlyDefine());
            }
Esempio n. 2
0
            public void RetunsTrue_WhenFolderDestinationIsWellDefine()
            {
                // Arrange
                SUT appSettings;

                // Act
                appSettings = new SUT(SUT.SourceSettings.Local);
                appSettings.FilesAndFoldersDestinationPath = @"\\192.168.0.250\PST Files\Courtel\MyComputer";

                // Assert
                Assert.IsTrue(appSettings.IsDestinationProperlyDefine());
            }