@Test public void testNewNamedCluster() { String newName = "new"; when( hadoopClusterDelegate.newNamedCluster( variableSpace, iMetaStore, shell ) ).thenReturn( newName ); assertEquals( newName, hadoopClusterDelegateBridge.newNamedCluster( variableSpace, iMetaStore, shell ) ); }
@Override public String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ) { return delegate.newNamedCluster( variableSpace, metaStore, shell ); }
HadoopClusterDelegateBridgeImpl implements HadoopClusterDelegate { @Override public String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ) { return delegate.newNamedCluster( variableSpace, metaStore, shell ); } }
HadoopClusterDelegateBridgeImpl implements HadoopClusterDelegate { @Override public String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ) { return delegate.newNamedCluster( variableSpace, metaStore, shell ); } HadoopClusterDelegateBridgeImpl( HadoopClusterDelegateImpl delegate ); }
HadoopClusterDelegateBridgeImpl implements HadoopClusterDelegate { @Override public String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ) { return delegate.newNamedCluster( variableSpace, metaStore, shell ); } HadoopClusterDelegateBridgeImpl( HadoopClusterDelegateImpl delegate ); @Override String editNamedCluster( IMetaStore metaStore, NamedCluster namedCluster, Shell shell ); @Override String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ); @Override void dupeNamedCluster( IMetaStore metaStore, NamedCluster nc, Shell shell ); @Override void delNamedCluster( IMetaStore metaStore, NamedCluster namedCluster ); }
HadoopClusterDelegateBridgeImpl implements HadoopClusterDelegate { @Override public String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ) { return delegate.newNamedCluster( variableSpace, metaStore, shell ); } HadoopClusterDelegateBridgeImpl( HadoopClusterDelegateImpl delegate ); @Override String editNamedCluster( IMetaStore metaStore, NamedCluster namedCluster, Shell shell ); @Override String newNamedCluster( VariableSpace variableSpace, IMetaStore metaStore, Shell shell ); @Override void dupeNamedCluster( IMetaStore metaStore, NamedCluster nc, Shell shell ); @Override void delNamedCluster( IMetaStore metaStore, NamedCluster namedCluster );  }