@Test public void buildWithEmptyList() { String emptyList = ""; Assertions.assertThat(AggregatorsHelper.build(emptyList)).isEqualTo(expectedList); }
public static List<AggregatorFactory> build(String rawAggregators) { List<AggregatorFactory> aggregators = new ArrayList<AggregatorFactory>(); aggregators.add(new CountAggregatorFactory("count")); return aggregators; }
AggregatorsHelper { public static List<AggregatorFactory> build(String rawAggregators) { List<AggregatorFactory> aggregators = new ArrayList<AggregatorFactory>(); aggregators.add(new CountAggregatorFactory("count")); return aggregators; } }
AggregatorsHelper { public static List<AggregatorFactory> build(String rawAggregators) { List<AggregatorFactory> aggregators = new ArrayList<AggregatorFactory>(); aggregators.add(new CountAggregatorFactory("count")); return aggregators; }  }
AggregatorsHelper { public static List<AggregatorFactory> build(String rawAggregators) { List<AggregatorFactory> aggregators = new ArrayList<AggregatorFactory>(); aggregators.add(new CountAggregatorFactory("count")); return aggregators; }  static List<AggregatorFactory> build(String rawAggregators); }
AggregatorsHelper { public static List<AggregatorFactory> build(String rawAggregators) { List<AggregatorFactory> aggregators = new ArrayList<AggregatorFactory>(); aggregators.add(new CountAggregatorFactory("count")); return aggregators; }  static List<AggregatorFactory> build(String rawAggregators);  }