### Question:
DiagramEditorView extends BaseEditorViewImpl implements AbstractDiagramEditor.View { @Override public void onResize() { editorPanel.onResize(); } protected  DiagramEditorView(); @Inject  DiagramEditorView(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(); }