@Test public void attributesStubIteratorTest() { CssPseudoElementNode pseudoElementNode = new CssPseudoElementNode(null, "after"); for (IAttribute attr : pseudoElementNode.getAttributes()) { Assert.fail("AttributesStub must return an empty iterator"); } }
@Override public IAttributes getAttributes() { return new AttributesStub(); }
CssPseudoElementNode extends CssContextNode implements IElementNode, ICustomElementNode { @Override public IAttributes getAttributes() { return new AttributesStub(); } }
CssPseudoElementNode extends CssContextNode implements IElementNode, ICustomElementNode { @Override public IAttributes getAttributes() { return new AttributesStub(); } CssPseudoElementNode(INode parentNode, String pseudoElementName); }
CssPseudoElementNode extends CssContextNode implements IElementNode, ICustomElementNode { @Override public IAttributes getAttributes() { return new AttributesStub(); } CssPseudoElementNode(INode parentNode, String pseudoElementName); String getPseudoElementName(); @Override String name(); @Override IAttributes getAttributes(); @Override String getAttribute(String key); @Override List<Map<String, String>> getAdditionalHtmlStyles(); @Override void addAdditionalHtmlStyles(Map<String, String> styles); @Override String getLang(); }
CssPseudoElementNode extends CssContextNode implements IElementNode, ICustomElementNode { @Override public IAttributes getAttributes() { return new AttributesStub(); } CssPseudoElementNode(INode parentNode, String pseudoElementName); String getPseudoElementName(); @Override String name(); @Override IAttributes getAttributes(); @Override String getAttribute(String key); @Override List<Map<String, String>> getAdditionalHtmlStyles(); @Override void addAdditionalHtmlStyles(Map<String, String> styles); @Override String getLang();  }