Tag implements Iterable<Tag> { public Map<String, String> getAttributes() { return attributes; } Tag(final String tag, final Map<String, String> attr);  Tag(final String tag);  Tag(final String tag, final Map<String, String> attr, final Map<String, String> css, final String ns );  Tag(final String tag, final Map<String, String> attr, final String ns);  Tag(final String tag, final String ns); void setParent(final Tag parent); Tag getParent(); @Deprecated String getTag(); Map<String, String> getCSS(); void setCSS(final Map<String, String> css); Map<String, String> getAttributes(); void addChild(final Tag t); List<Tag> getChildren(); List<Tag> getChildren(final String name); String getNameSpace(); @Override String toString(); boolean compareTag(final Tag t); Iterator<Tag> iterator(); Tag getChild(final String name, final String ns); Tag getChild(final String name, final String ns, final boolean recursive); boolean hasChildren(); boolean hasParent(); boolean hasChild(final String name, final String ns); boolean hasChild(final String name, final String ns, final boolean recursive); String getName(); Object getLastMarginBottom(); void setLastMarginBottom(Object lastMarginBottom);  }
@Test public void validateAttributesNotNull() { Tag t = new Tag("dummy"); Assert.assertNotNull(t.getAttributes()); }