|
@@ -1039,6 +1039,12 @@ public class StackControllerTest extends BaseTest {
|
1039
|
1039
|
verify(uut, times(1)).mergeChildOptions(optionsToMerge, vc);
|
1040
|
1040
|
}
|
1041
|
1041
|
|
|
1042
|
+ @Test
|
|
1043
|
+ public void mergeOptions_doesNotMergeOptionsIfViewIsNotVisible() {
|
|
1044
|
+ uut.mergeOptions(Options.EMPTY);
|
|
1045
|
+ verify(presenter, times(0)).mergeOptions(any(), any(), any());
|
|
1046
|
+ }
|
|
1047
|
+
|
1042
|
1048
|
@Test
|
1043
|
1049
|
public void mergeChildOptions_updatesParentControllerWithNewOptions() {
|
1044
|
1050
|
StackController uut = TestUtils.newStackController(activity)
|