@Test public void testAsWidget() { Widget widget = mock(Widget.class); when(view.asWidget()).thenReturn(widget); assertEquals(widget, dialog.asWidget()); }
@Override public Widget asWidget() { return view.asWidget(); }
RelationshipEditionDialog implements PropertyEditionPopup { @Override public Widget asWidget() { return view.asWidget(); } }
RelationshipEditionDialog implements PropertyEditionPopup { @Override public Widget asWidget() { return view.asWidget(); } @Inject  RelationshipEditionDialog(View view); }
RelationshipEditionDialog implements PropertyEditionPopup { @Override public Widget asWidget() { return view.asWidget(); } @Inject  RelationshipEditionDialog(View view); @Override Widget asWidget(); @Override @SuppressWarnings("unchecked") void show(); @Override void setOkCommand(Command okCommand); @Override void setProperty(PropertyEditorFieldInfo property); @Override String getStringValue(); @Override void setStringValue(String value); }
RelationshipEditionDialog implements PropertyEditionPopup { @Override public Widget asWidget() { return view.asWidget(); } @Inject  RelationshipEditionDialog(View view); @Override Widget asWidget(); @Override @SuppressWarnings("unchecked") void show(); @Override void setOkCommand(Command okCommand); @Override void setProperty(PropertyEditorFieldInfo property); @Override String getStringValue(); @Override void setStringValue(String value);  }