public void TestSetGetVAlign() { CT_RPr rpr = ctRun.AddNewRPr(); rpr.AddNewVertAlign().val = (ST_VerticalAlignRun.subscript); XWPFRun run = new XWPFRun(ctRun, p); Assert.AreEqual(VerticalAlign.SUBSCRIPT, run.GetSubscript()); run.SetSubscript(VerticalAlign.BASELINE); Assert.AreEqual(ST_VerticalAlignRun.baseline, rpr.vertAlign.val); }