OperatorPage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { public String getOperator() { return editingCol().getOperator(); } @Inject  OperatorPage(final View view,
                        final Event<WizardPageStatusChangeEvent> changeEvent,
                        final TranslationService translationService); @Override String getTitle(); @Override void prepareView(); @Override void isComplete(final Callback<Boolean> callback); String getOperator();  }
@Test public void testGetOperator() { final String expectedOperator = "operator"; when(plugin.getFactField()).thenReturn("factField"); when(plugin.editingCol()).thenReturn(editingCol); when(editingCol.getOperator()).thenReturn(expectedOperator); final String operator = page.getOperator(); verify(plugin).editingCol(); verify(editingCol).getOperator(); assertEquals(expectedOperator, operator); }