@Test public void onNavigationButtonPressInvokedOnReactComponent() { uut.ensureViewIsCreated(); uut.sendOnNavigationButtonPressed("btn1"); verify(view, times(1)).sendOnNavigationButtonPressed("btn1"); }
@Override public void sendOnNavigationButtonPressed(String buttonId) { getView().sendOnNavigationButtonPressed(buttonId); }
ComponentViewController extends ChildController<ComponentLayout> { @Override public void sendOnNavigationButtonPressed(String buttonId) { getView().sendOnNavigationButtonPressed(buttonId); } }
ComponentViewController extends ChildController<ComponentLayout> { @Override public void sendOnNavigationButtonPressed(String buttonId) { getView().sendOnNavigationButtonPressed(buttonId); } ComponentViewController(final Activity activity,
                                   final ChildControllersRegistry childRegistry,
                                   final String id,
                                   final String componentName,
                                   final ReactViewCreator viewCreator,
                                   final Options initialOptions,
                                   final Presenter presenter,
                                   final ComponentPresenter componentPresenter); }
ComponentViewController extends ChildController<ComponentLayout> { @Override public void sendOnNavigationButtonPressed(String buttonId) { getView().sendOnNavigationButtonPressed(buttonId); } ComponentViewController(final Activity activity,
                                   final ChildControllersRegistry childRegistry,
                                   final String id,
                                   final String componentName,
                                   final ReactViewCreator viewCreator,
                                   final Options initialOptions,
                                   final Presenter presenter,
                                   final ComponentPresenter componentPresenter); @Override void onViewAppeared(); @Override void onViewDisappear(); @Override void sendOnNavigationButtonPressed(String buttonId); @Override void applyOptions(Options options); @Override boolean isViewShown(); @Override void mergeOptions(Options options); @Override void destroy(); }
ComponentViewController extends ChildController<ComponentLayout> { @Override public void sendOnNavigationButtonPressed(String buttonId) { getView().sendOnNavigationButtonPressed(buttonId); } ComponentViewController(final Activity activity,
                                   final ChildControllersRegistry childRegistry,
                                   final String id,
                                   final String componentName,
                                   final ReactViewCreator viewCreator,
                                   final Options initialOptions,
                                   final Presenter presenter,
                                   final ComponentPresenter componentPresenter); @Override void onViewAppeared(); @Override void onViewDisappear(); @Override void sendOnNavigationButtonPressed(String buttonId); @Override void applyOptions(Options options); @Override boolean isViewShown(); @Override void mergeOptions(Options options); @Override void destroy();  }