public void GetFilesByLocationTest()
        {
            //arrange
            ISharePointUploader fetcher = new SharePointUploader(
                _testUserId,
                _testPassword,
                _testBaseUrl
                );

            //act
            List <string> fileList = new List <string>(fetcher.GetFilesByLocation(_testLibrary));

            //assert
            Assert.AreEqual(fileList.Count, 4);
        }
        public void SPFileExistInLibraryTest()
        {
            //arrange
            ISharePointUploader fetcher = new SharePointUploader(
                _testUserId,
                _testPassword,
                _testBaseUrl
                );

            //act
            var fileList      = new List <string>(fetcher.GetFilesByLocation(_testLibrary));
            var doesFileExist = fetcher.SPFileExistInLibrary(_testLibrary, fileList.ToArray()[0]);

            //assert
            Assert.IsTrue(doesFileExist);
        }