NamedClusterWidgetBridgedImpl implements NamedClusterWidget { @Override public void setSelectedNamedCluster( String name ) { namedClusterWidget.setSelectedNamedCluster( name ); } NamedClusterWidgetBridgedImpl( NamedClusterWidgetImpl namedClusterWidget ); @Override void initiate(); @Override Composite getComposite(); @Override NamedCluster getSelectedNamedCluster(); @Override void setSelectedNamedCluster( String name ); @Override void addSelectionListener( SelectionListener selectionListener );  }
@Test public void testSetSelectedNamedCluster() { String testName = "testName"; namedClusterWidgetBridged.setSelectedNamedCluster( testName ); verify( namedClusterWidget ).setSelectedNamedCluster( testName ); }