Composite extends Component { @Override public Element getElement() { return getContent().getElement(); } protected  Composite(); T getContent(); @Override Element getElement(); @Override Stream<Component> getChildren();  }
@Test public void getElement_compositeAndCompositeComponent() { assertEquals(layoutInsideComposite.getElement(), compositeWithComponent.getElement()); }
@Test public void getParentElement_compositeInLayout() { assertEquals(layoutWithSingleComponentComposite.getElement(), compositeWithComponent.getElement().getParent()); }
@Test public void getElementChildren_layoutWithComponentInComposite() { assertElementChildren(layoutWithSingleComponentComposite.getElement(), layoutInsideComposite.getElement()); }