コード例 #1
0
        public void SearchTest()
        {
            //Given
            var keywords   = new string[] { "university" };
            var folderPath = SharedTestData.TestDocFolderPath;
            var custodian  = new Custodian();

            //When
            custodian.TakeCareOf(folderPath);
            var result     = custodian.Search(keywords);
            var resultSize = result.Count;

            //Then
            Assert.Equal(expected: 6, resultSize);
        }