CssPseudoElementNode extends CssContextNode implements IElementNode, ICustomElementNode { @Override public String name() { return pseudoElementTagName; } 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();  }
@Test public void getPseudoElementTagNameTest() { CssPseudoElementNode pseudoElementNode = new CssPseudoElementNode(null, "after"); Assert.assertEquals("pseudo-element::after", pseudoElementNode.name()); }