@Override
  protected boolean isPatternBasedConfiguration(RunConfiguration configuration) {
    return configuration instanceof JUnitConfiguration &&
           JUnitConfiguration.TEST_PATTERN.equals(((JUnitConfiguration)configuration).getPersistentData().TEST_OBJECT);
  }
@Override
  protected boolean isPatternBasedConfiguration(RunConfiguration configuration)