@Test public void testShowDeleteIfIsAbleTo() { this.presenter.show(branch); verify(this.view).show(eq(branch.getName())); }
public void show(final Branch branch) { this.branch = branch; view.show(branch.getName()); }
DeleteBranchPopUpScreen { public void show(final Branch branch) { this.branch = branch; view.show(branch.getName()); } }
DeleteBranchPopUpScreen { public void show(final Branch branch) { this.branch = branch; view.show(branch.getName()); } @Inject  DeleteBranchPopUpScreen(final DeleteBranchPopUpScreen.View view,
                                   final Caller<LibraryService> libraryService,
                                   final LibraryPlaces libraryPlaces); }
DeleteBranchPopUpScreen { public void show(final Branch branch) { this.branch = branch; view.show(branch.getName()); } @Inject  DeleteBranchPopUpScreen(final DeleteBranchPopUpScreen.View view,
                                   final Caller<LibraryService> libraryService,
                                   final LibraryPlaces libraryPlaces); @PostConstruct void setup(); void show(final Branch branch); void delete(); void cancel(); }
DeleteBranchPopUpScreen { public void show(final Branch branch) { this.branch = branch; view.show(branch.getName()); } @Inject  DeleteBranchPopUpScreen(final DeleteBranchPopUpScreen.View view,
                                   final Caller<LibraryService> libraryService,
                                   final LibraryPlaces libraryPlaces); @PostConstruct void setup(); void show(final Branch branch); void delete(); void cancel();  }