ScenarioJunitActivator extends ParentRunner<ScenarioRunnerDTO> { @Override protected List<ScenarioRunnerDTO> getChildren() { return getResources().map(this::parseFile) .filter(item -> isNotSkipFromBuild(item.getSettings())) .collect(Collectors.toList()); } ScenarioJunitActivator(Class<?> testClass);  static final String ACTIVATOR_CLASS_NAME; static final Function<String, String> ACTIVATOR_CLASS_CODE; }
@Test public void getChildrenTest() throws InitializationError { assertEquals(0, getScenarioJunitActivator().getChildren().size()); settingsLocal.setSkipFromBuild(false); assertEquals(1, getScenarioJunitActivator().getChildren().size()); }