Dev2.Core.Tests.FileSystemQueryTest.FileSystemQuery_GetSharesInformationFromSpecifiedServer_HasShares_Expectalue C# (CSharp) Method

FileSystemQuery_GetSharesInformationFromSpecifiedServer_HasShares_Expectalue() private method

        public void FileSystemQuery_GetSharesInformationFromSpecifiedServer_HasShares_Expectalue()
        {
            //------------Setup for test--------------------------
            var query = GetFileSystemQuery();
            var output = new List<string>();

            query.GetSharesInformationFromSpecifiedServer(@"\\bob",  output);
            //------------Assert Results-------------------------

            Assert.AreEqual(output.Count, 1);
            Assert.AreEqual(output.First(), @"\\a\b");
        }
FileSystemQueryTest