public void testGetMimeType() { JDFResourcePool resPool = root.getCreateResourcePool(); KElement kElem = resPool.appendResource(ElementName.RUNLIST, null, null); Assert.IsTrue(kElem is JDFRunList); JDFRunList ruli = (JDFRunList)kElem; Assert.IsNull(ruli.getFileMimeType()); kElem.setXPathAttribute("LayoutElement/FileSpec/@MimeType", "application/pdf"); Assert.AreEqual("application/pdf", ruli.getFileMimeType()); }