Esempio n. 1
0
        public void GetContentTypeDescriptionFromFileTypeTest()
        {
            string fileType = "My Girl.doc";
            string expected = "Microsoft Word binary document";
            string actual;

            actual = MimeTypeMap.GetContentTypeDescriptionFromFileType(fileType);
            Assert.AreEqual(expected, actual);
        }