public void GetDocumentList_ImportFile_List()
        {
            // arrange
            ConfigurationManager.AppSettings.Set("RepositoryDir", "C:\\Temp\\UnitTestingOfPhilipp\\Repository");
            var importService = new ImportService();

            // act
            var result = importService.GetDocumentList();

            // assert
            Assert.That(result.Count, Is.EqualTo(1));
        }
        public void GetDocumentList_ExecuteWithEmptyDirectory_EmptyList()
        {
            // arrange
            ConfigurationManager.AppSettings.Set("RepositoryDir", "C:\\Temp\\UnitTestingOfPhilipp");
            var importService = new ImportService();

            // act
            var result = importService.GetDocumentList();

            // assert
            Assert.That(result, Is.EqualTo(new List <MetadataItem>()));
        }