public void GetContentTypeFromFileTypeTest() { string filename = "My Girl.doc"; string expected = "application/msword"; string actual; actual = MimeTypeMap.GetContentTypeFromFileType(filename); Assert.AreEqual(expected, actual); }