Esempio n. 1
0
        public void GetFileTypeFromContentTypeTest()
        {
            string mimeType = "application/msword";
            string expected = ".doc";
            string actual;

            actual = MimeTypeMap.GetFileTypeFromContentType(mimeType);
            Assert.AreEqual(expected, actual);
        }