@Override
    protected List<TestInfo> getChildren() {
        List<TestInfo> children = new ArrayList<>();

        for (TestPlanInfo planInfo : testPlans) {
            planInfo.runner = new TestPlanRunner();

            List<TestGroupType> groups = planInfo.plan.getTestGroup();
            for (TestGroupType group : groups) {
                for (TestType test : group.getTest()) {
                    TestInfo testInfo = new TestInfo();
                    if (testPlans.size() > 1) {
                        testInfo.name = planInfo.name + " / " + test.getName();
                    } else {
                        testInfo.name = test.getName();
                    }
                    testInfo.plan = planInfo;
                    testInfo.group = group;
                    testInfo.test = test;
                    children.add(testInfo);
                }
            }
        }
        return children;
    }
@see org.junit.runners.ParentRunner#getChildren()
gateway/test/src/test/java/io/apiman/gateway/test/junit/GatewayRestTester.java