ShadowRoot extends Node<ShadowRoot> { @Override public Node<?> getParentNode() { return null; } private  ShadowRoot(StateNode node); static ShadowRoot get(StateNode node); static boolean isShadowRoot(StateNode node); @Override Node<?> getParentNode(); Element getHost(); @Override ShadowRootStateProvider getStateProvider();  }
@Test public void getParentNode_parentNodeIsNull() { ShadowRoot root = createParentNode(); Assert.assertNull(root.getParentNode()); }