PlaceHistoryHandler { public void flush() { currentBookmarkableURLStatus = ""; } PlaceHistoryHandler(); void handleCurrentHistory(); HandlerRegistration initialize(final PlaceManager placeManager,
                                          final EventBus eventBus,
                                          final PlaceRequest defaultPlaceRequest); String getCurrentBookmarkableURLStatus(); PlaceRequest getPerspectiveFromPlace(final PlaceRequest place); void registerOpen(Activity activity,
                             PlaceRequest place); void registerClose(Activity activity,
                              PlaceRequest place); void flush(); String getToken(); void registerOpenDock(@Observes UberfireDocksInteractionEvent event); void registerCloseDock(@Observes UberfireDocksInteractionEvent event);  }
@Test public void TestFlush() { prepareCompleteUrlForTests(); placeHistoryHandler.flush(); assertNotNull(placeHistoryHandler.getCurrentBookmarkableURLStatus()); assertEquals("", placeHistoryHandler.getCurrentBookmarkableURLStatus()); }