use of com.reactnativenavigation.options.params.DontApplyColour in project react-native-navigation by wix.
the class BottomTabPresenterTest method mergeChildOptions_nullColorsAreNotMerged.
@Test
public void mergeChildOptions_nullColorsAreNotMerged() {
Options options = new Options();
options.bottomTabOptions.iconColor = new ThemeColour(new DontApplyColour());
options.bottomTabOptions.selectedIconColor = new ThemeColour(new DontApplyColour());
uut.mergeChildOptions(options, child3);
verify(bottomTabs, times(0)).setIconActiveColor(anyInt(), anyInt());
verify(bottomTabs, times(0)).setIconInactiveColor(anyInt(), anyInt());
}
Aggregations