### Question:
HtmlSubsetDocumentBuilder extends DocumentBuilder { @Override public void image(Attributes attributes, String url) { if (supportsImages) { assertOpenBlock(); delegate.image(attributes, url); } } HtmlSubsetDocumentBuilder(Writer out, boolean formatting);   HtmlSubsetDocumentBuilder(HtmlDocumentBuilder delegate); void setElementNameOfSpanType(SpanType spanType, String elementName); @Override void beginDocument(); @Override void endDocument(); @Override void flush(); @Override void beginBlock(BlockType type, Attributes attributes); @Override void endBlock(); @Override void beginSpan(SpanType type, Attributes attributes); @Override void endSpan(); @Override void beginHeading(int level, Attributes attributes); @Override void endHeading(); @Override void characters(String text); @Override void entityReference(String entity); @Override void image(Attributes attributes, String url); @Override void link(Attributes attributes, String hrefOrHashName, String text); @Override void imageLink(Attributes linkAttributes, Attributes imageAttributes, String href, String imageUrl); @Override void acronym(String text, String definition); @Override void lineBreak(); @Override void charactersUnescaped(String literal); @Override void horizontalRule();  }### Answer:
@Test public void image() { builder.image(new Attributes(), "image.png"); assertContent("<img border=\"0\" src=\"image.png\"/>"); }