use of com.reactnativenavigation.options.SideMenuRootOptions in project react-native-navigation by wix.
the class SideMenuPresenterTest method mergeVisibility_visibilityOptionsAreConsumed.
@Test
public void mergeVisibility_visibilityOptionsAreConsumed() {
SideMenuRootOptions options = new SideMenuRootOptions();
options.left.visible = new Bool(true);
options.right.visible = new Bool(true);
uut.mergeOptions(options);
assertFalse(options.right.visible.hasValue());
assertFalse(options.left.visible.hasValue());
}
Aggregations