public void GetFileTypeFromContentTypeTest() { string mimeType = "application/msword"; string expected = ".doc"; string actual; actual = MimeTypeMap.GetFileTypeFromContentType(mimeType); Assert.AreEqual(expected, actual); }
public void GetFileTypeFromContentTypeTest() { string mimeType = "application/msword"; string expected = ".doc"; string actual; actual = MimeTypeMap.GetFileTypeFromContentType(mimeType); Assert.AreEqual(expected, actual); }