### Question:
BreadcrumbItem implements BreadcrumbItemView.Presenter, IsElement { public void setActive( boolean active ) { view.setActive( active ); } BreadcrumbItem( ); @Inject  BreadcrumbItem( BreadcrumbItemView view ); void setName( String name ); void setCommand( Command command ); void setActive( boolean active ); @Override void onClick( ); @Override HTMLElement getElement( );  }### Answer:
@Test public void testSetActive() { breadcrumbItem.setActive( true ); verify( view, times( 1 ) ).setActive( true ); breadcrumbItem.setActive( false ); verify( view, times( 1 ) ).setActive( false ); }