Method method = StackExtensionHelper.class.getDeclaredMethod
("getParentStacksInOrder", Collection.class);
method.setAccessible(true);
StackExtensionHelper helper = new StackExtensionHelper(injector, metaInfo.getStackRoot());
helper.fillInfo();
Map<String, List<StackInfo>> stacks =
(Map<String, List<StackInfo>>) method.invoke(helper, allStacks);
Assert.assertNotNull(stacks.get("2.0.99"));
// Verify order