PresenterWidget implements Component, PopupContainer, IsWidget { @Override public boolean isVisible() { return visible; } protected  PresenterWidget(V view); @Override @Nullable Object data(String key); V getView(); @Override boolean isVisible(); @Override Widget asWidget(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override void addToSlot(MultiSlot<? super T> slot, T child); @Override void setInSlot(IsSingleSlot<? super T> slot, T child); @Override void clearSlot(IsSlot<?> slot); @Override void removeFromSlot(MultiSlot<? super T> slot, @Nullable T child); @Override void orphan(); @SuppressWarnings("unchecked") @Override @Nullable T getChild(IsSingleSlot<T> slot); @SuppressWarnings("unchecked") @Override Set<T> getChildren(IsSlot<T> slot); void onReveal(Flowable<?> o); void onReveal(Observable<?> o); void onReveal(Single<?> o); void onReveal(Maybe<?> o); void onReveal(Completable o); @Override void performReset(); static void registerSubscriptionHandler(CompletableTransformer impl);  }
@Test public void presenterWidgetIsInitiallyNotVisible() { PresenterWidgetA presenterWidget = presenterWidgetA(); assertEquals(0, presenterWidget.onRevealMethodCalled); assertEquals(0, presenterWidget.onHideMethodCalled); assertFalse(presenterWidget.isVisible()); }