### Question:
HtmlSubsetLanguage extends HtmlLanguage { public int getSupportedHeadingLevel() { return headingLevel; } HtmlSubsetLanguage(String name, HtmlDocumentHandler documentHandler, int headingLevel,
			Set<BlockType> blockTypes, Set<SpanType> spanTypes, Map<SpanType, String> tagNameSubstitutions,
			List<SpanHtmlElementStrategy> spanElementStrategies);  HtmlSubsetLanguage(String name, HtmlDocumentHandler documentHandler, int headingLevel,
			Set<BlockType> blockTypes, Set<SpanType> spanTypes, Map<SpanType, String> tagNameSubstitutions,
			List<SpanHtmlElementStrategy> spanElementStrategies, boolean xhtmlStrict); Set<BlockType> getSupportedBlockTypes(); Set<SpanType> getSupportedSpanTypes(); int getSupportedHeadingLevel(); Map<SpanType, String> getTagNameSubstitutions(); @Override HtmlSubsetDocumentBuilder createDocumentBuilder(Writer out, boolean formatting); @Override HtmlSubsetLanguage clone(); boolean isXhtmlStrict();  }### Answer:
@Test public void supportedHeadingLevel() { assertSupportedHeadingLevel(0); assertSupportedHeadingLevel(1); assertSupportedHeadingLevel(5); assertSupportedHeadingLevel(6); assertEquals(0, newHtmlSubsetLanguageWithHeadingLevel(0).getSupportedHeadingLevel()); }