NamedClusterDialogBridgeImpl implements NamedClusterDialog { @Override public void setNewClusterCheck( boolean newClusterCheck ) { delegate.setNewClusterCheck( newClusterCheck ); } NamedClusterDialogBridgeImpl( NamedClusterDialogImpl delegate ); @Override NamedCluster getNamedCluster(); @Override void setNamedCluster( NamedCluster namedCluster ); @Override void setNewClusterCheck( boolean newClusterCheck ); @Override String open();  }
@Test public void testSetNewClusterCheckTrue() { namedClusterDialogBridge.setNewClusterCheck( true ); verify( delegate ).setNewClusterCheck( true ); }
@Test public void testSetNewClusterCheckFalse() { namedClusterDialogBridge.setNewClusterCheck( false ); verify( delegate ).setNewClusterCheck( false ); }