assertSame(newca, ca); // we got exactly the same object
assertEquals(3, tr.getSize());
assertEquals(3, ca.getOlderSiblingArray().length);
assertEquals(3, ca.getYoungestChildArray().length);
// After the refresh, things change:
tr.refresh();
ca = tr.getChildrenArrays();
assertEquals(5, tr.getSize());
assertEquals(5, ca.getOlderSiblingArray().length);
assertEquals(5, ca.getYoungestChildArray().length);
assertTrue(Arrays.equals(new int[] { 4, 3, -1, -1, -1 }, ca.getYoungestChildArray()));