use of com.reactnativenavigation.views.stack.topbar.titlebar.ButtonBar in project react-native-navigation by wix.
the class TitleBarButtonControllerTest method beforeEach.
@Override
public void beforeEach() {
Activity activity = newActivity();
titleBar = new ButtonBar(activity);
ButtonOptions button = createComponentButton();
uut = new ButtonController(activity, new ButtonPresenter(activity, button, new IconResolver(activity, ImageLoaderMock.mock())), button, new TitleBarButtonCreatorMock(), Mockito.mock(ButtonController.OnClickListener.class));
}
use of com.reactnativenavigation.views.stack.topbar.titlebar.ButtonBar in project react-native-navigation by wix.
the class ButtonPresenterTest method beforeEach.
@Override
public void beforeEach() {
super.beforeEach();
activity = newActivity();
titleBar = new ButtonBar(activity);
activity.setContentView(titleBar);
button = createButton();
ImageLoader imageLoaderMock;
imageLoaderMock = ImageLoaderMock.mock();
initUUt(imageLoaderMock);
}
Aggregations