void () { try { new LibraryPackagingElement("level", "libName", "name").createPresentation( new MockPackagingEditorContext(new MockArtifactsStructureConfigurableContext(), null)); } catch (Exception e) { e.printStackTrace(); Assert.fail("Exception is not expected"); } }