### Question:
JunitSuiteRunner extends ParentRunner<Runner> { @Override protected List<Runner> getChildren() { return fRunners; } JunitSuiteRunner(Class<?> testClass);   }### Answer:
@Test public void shouldCreateChildRunnerForValidSingleDescriptionSuite() throws InitializationError { JunitSuiteRunner testee = new JunitSuiteRunner(ValidTestWithOneDescription.class); assertEquals(1, testee.getChildren().size()); }
@Test public void shouldCreateChildRunnerForEachDescriptionInClass() throws InitializationError { JunitSuiteRunner testee = new JunitSuiteRunner(ValidTestWithTwoDescriptions.class); assertEquals(2, testee.getChildren().size()); }
@Test public void shouldNamedChildrenAfterTheirSuites() throws InitializationError { JunitSuiteRunner testee = new JunitSuiteRunner(ValidTestWithTwoDescriptions.class); List<Runner> actual = testee.getChildren(); assertEquals(createSuiteDescription("a thing"), actual.get(0).getDescription()); assertEquals(createSuiteDescription("another thing"), actual.get(1).getDescription()); }