|
@@ -19,7 +19,7 @@ public class NavigationControllerTest extends BaseTest {
|
19
|
19
|
ViewController c1 = new ViewController();
|
20
|
20
|
ViewController c2 = new ViewController();
|
21
|
21
|
ViewController c3 = new ViewController();
|
22
|
|
- assertThat(new NavigationController(c1, c2, c3).getChildControllers()).containsExactly(c1, c2, c3);
|
|
22
|
+ assertThat(new NavigationController(c1, c2, c3).getChildControllers()).containsExactly(c3, c2, c1);
|
23
|
23
|
}
|
24
|
24
|
|
25
|
25
|
@Test
|
|
@@ -38,7 +38,7 @@ public class NavigationControllerTest extends BaseTest {
|
38
|
38
|
ViewController c2 = new ViewController();
|
39
|
39
|
uut.push(c1);
|
40
|
40
|
uut.push(c2);
|
41
|
|
- assertThat(uut.getChildControllers()).containsExactly(c1, c2);
|
|
41
|
+ assertThat(uut.getChildControllers()).containsExactly(c2, c1);
|
42
|
42
|
uut.pop();
|
43
|
43
|
assertThat(uut.getChildControllers()).containsExactly(c1);
|
44
|
44
|
uut.pop();
|