void () { VMOption option = new VMOption("Flag", "bool", "true", VMOptionKind.Experimental, "SuperOption", VMOptionVariant.XX, null); DocumentationData result = (DocumentationData)option.computeDocumentation(); String doc = result.getHtml(); assertEquals(""" <table>\ <tr><td align="right" valign="top"><b>Option: </b></td><td>-XX:Flag</td></tr>\ <tr><td align="right" valign="top"><b>Category: </b></td><td>Experimental (requires -XX:+UnlockExperimentalVMOptions)</td></tr>\ <tr><td align="right" valign="top"><b>Type: </b></td><td>bool</td></tr>\ <tr><td align="right" valign="top"><b>Default value: </b></td><td>true</td></tr>\ <tr><td align="right" valign="top"><b>Description: </b></td><td>SuperOption</td></tr></table>""", doc); }