testView(() -> {
dummy(456);
});
});
};
<BUG>Anvil.Mount m = Anvil.mount(rootView, r);
assertEquals(1, rootView.getChildCount());</BUG>
assertEquals(TestLayout.class, rootView.getChildAt(0).getClass());
assertEquals("123", ((TestLayout) rootView.getChildAt(0)).getDummy());
TestLayout layout = (TestLayout) rootView.getChildAt(0);

testView(() -> {
dummy(123);
});
testView(() -> {
dummy(456);
});
});
};
Anvil.mount(rootView, r);
assertEquals(1, rootView.getChildCount());
assertEquals(TestLayout.class, rootView.getChildAt(0).getClass());
assertEquals("123", ((TestLayout) rootView.getChildAt(0)).getDummy());
TestLayout layout = (TestLayout) rootView.getChildAt(0);
