void () { Module module = new MockModule(getTestRootDisposable()); MyElement element1 = getDomManager().createMockElement(MyElement.class, module, false); MyElement element2 = getDomManager().createMockElement(MyElement.class, module, false); element2.copyFrom(element1); assertNull(element2.getXmlTag()); }