UberfireBreadcrumbs { @PostConstruct public void createBreadcrumbs() { uberfireBreadcrumbsContainer.init(getView().getElement()); } @Inject  UberfireBreadcrumbs(UberfireBreadcrumbsContainer uberfireBreadcrumbsContainer,
                               ManagedInstance<DefaultBreadcrumbsPresenter> breadcrumbsPresenters,
                               PlaceManager placeManager,
                               View view); @PostConstruct void createBreadcrumbs(); void clearBreadcrumbs(final String associatedPerspective); void clearBreadcrumbsAndToolBars(final String associatedPerspective); void addBreadCrumb(final String associatedPerspective,
                              final String breadCrumbLabel,
                              final Command command); void addBreadCrumb(final String associatedPerspective,
                              final String breadCrumbLabel,
                              final Command command,
                              final boolean removeDeepLevelBreadcrumbsAfterActivation); void addBreadCrumb(final String associatedPerspective,
                              final String breadCrumbLabel,
                              final PlaceRequest associatedPlaceRequest); void addBreadCrumb(final String associatedPerspective,
                              final String breadCrumbLabel,
                              final PlaceRequest associatedPlaceRequest,
                              final Command command); void addBreadCrumb(final String associatedPerspective,
                              final String breadCrumbLabel,
                              final PlaceRequest associatedPlaceRequest,
                              final Command command,
                              final boolean removeDeepLevelBreadcrumbsAfterActivation); void addBreadCrumb(final String associatedPerspective,
                              final BreadcrumbPresenter breadCrumbPresenter); void addToolbar(final String associatedPerspective,
                           final Element toolbar);  }
@Test public void createBreadcrumbsTest() { uberfireBreadcrumbs.createBreadcrumbs(); verify(uberfireBreadcrumbsContainer).init(any(HTMLElement.class)); }