### Question:
ProjectDiagramEditorView extends KieEditorViewImpl implements AbstractProjectDiagramEditor.View { @Override public void onResize() { editorPanel.onResize(); } protected  ProjectDiagramEditorView(); @Inject  ProjectDiagramEditorView(final ResizeFlowPanel editorPanel); @Override void init(final DiagramEditorCore presenter); @Override void onResize(); @Override void setWidget(final IsWidget widget); @PreDestroy void destroy();  }### Answer:
@Test public void testOnResize() { tested.onResize(); verify(editorPanel).onResize(); }