Input extends AbstractHtml { public static void setTagType(final TagType tagType) { Input.tagType = tagType; } Input(final AbstractHtml base,
            final AbstractAttribute... attributes); static TagType getTagType(); static void setTagType(final TagType tagType);  }
@Test public void testInput1() { Input input = new Input(null); assertEquals("<input>", input.toHtmlString()); Input.setTagType(TagType.OPENING_CLOSING); input = new Input(null); assertEquals("<input></input>", input.toHtmlString()); Input.setTagType(TagType.SELF_CLOSING); input = new Input(null); assertEquals("<input/>", input.toHtmlString()); Input.setTagType(TagType.NON_CLOSING); input = new Input(null); assertEquals("<input>", input.toHtmlString()); }
@Test public void testInput2() { Input.setTagType(TagType.SELF_CLOSING); Input input = new Input(null); assertEquals("<input/>", input.toHtmlString()); }