Search in sources :

Example 1 with LayoutFactory

use of com.reactnativenavigation.options.LayoutFactory in project react-native-navigation by wix.

the class LayoutFactoryTest method beforeEach.

@Override
public void beforeEach() {
    super.beforeEach();
    mockReactInstanceManager = mock(ReactInstanceManager.class);
    uut = new LayoutFactory(mockReactInstanceManager);
    uut.init(newActivity(), Mockito.mock(EventEmitter.class), new ChildControllersRegistry(), new HashMap<>());
}
Also used : ReactInstanceManager(com.facebook.react.ReactInstanceManager) EventEmitter(com.reactnativenavigation.react.events.EventEmitter) LayoutFactory(com.reactnativenavigation.options.LayoutFactory) ChildControllersRegistry(com.reactnativenavigation.viewcontrollers.child.ChildControllersRegistry)

Aggregations

ReactInstanceManager (com.facebook.react.ReactInstanceManager)1 LayoutFactory (com.reactnativenavigation.options.LayoutFactory)1 EventEmitter (com.reactnativenavigation.react.events.EventEmitter)1 ChildControllersRegistry (com.reactnativenavigation.viewcontrollers.child.ChildControllersRegistry)1