public void O15ElementTest() { try { // Well, if CommentEx is not integrated in the SDK, we can't even compile this unit test project... // Check if CommentEx is available. var commentEx = new DocumentFormat.OpenXml.Office2013.Word.CommentEx(); Assert.NotNull(commentEx); } catch { Assert.True(false); // Assert.Fail("Should not throw exception."); } }
public void O15ElementTest() { try { // Well, if CommentEx is not integrated in the SDK, we can't even compile this unit test project... // Check if CommentEx is available. DocumentFormat.OpenXml.Office2013.Word.CommentEx commentEx = new DocumentFormat.OpenXml.Office2013.Word.CommentEx(); Assert.NotNull(commentEx); } catch { Assert.True(false); // Assert.Fail("Should not throw exception."); } }