Exemplo n.º 1
0
        public void GetContentTypeDescriptionFromContentTypeTest()
        {
            string mimeType = "application/msword";
            string expected = "Microsoft Word binary document";
            string actual;

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