@Test public void testClick() { breadcrumbItem.onClick(); verify( command, times( 1 ) ).execute(); }
@Override public void onClick( ) { if ( command != null ) { command.execute( ); } }
BreadcrumbItem implements BreadcrumbItemView.Presenter, IsElement { @Override public void onClick( ) { if ( command != null ) { command.execute( ); } } }
BreadcrumbItem implements BreadcrumbItemView.Presenter, IsElement { @Override public void onClick( ) { if ( command != null ) { command.execute( ); } } BreadcrumbItem( ); @Inject  BreadcrumbItem( BreadcrumbItemView view ); }
BreadcrumbItem implements BreadcrumbItemView.Presenter, IsElement { @Override public void onClick( ) { if ( command != null ) { command.execute( ); } } BreadcrumbItem( ); @Inject  BreadcrumbItem( BreadcrumbItemView view ); void setName( String name ); void setCommand( Command command ); void setActive( boolean active ); @Override void onClick( ); @Override HTMLElement getElement( ); }
BreadcrumbItem implements BreadcrumbItemView.Presenter, IsElement { @Override public void onClick( ) { if ( command != null ) { command.execute( ); } } BreadcrumbItem( ); @Inject  BreadcrumbItem( BreadcrumbItemView view ); void setName( String name ); void setCommand( Command command ); void setActive( boolean active ); @Override void onClick( ); @Override HTMLElement getElement( );  }