ReportParameterConfigurerChainBuilder { public static ReportParameterConfigurerTaskAdder add( Supplier<ReportParameterConfigurerTask> task) { final ReportParameterConfigurerTaskAdder adder = new ReportParameterConfigurerChainBuilder().new ReportParameterConfigurerTaskAdder(); return adder.add(task); }  static ReportParameterConfigurerTaskAdder add(
			Supplier<ReportParameterConfigurerTask> task);  }
@Test public void testAdd() { map.put(key, value); task = (reportProps, reportFormat, datasource) -> map; final ReportParameterConfigurerTaskAdder add = ReportParameterConfigurerChainBuilder .add(() -> task); assertEquals(map, add.build().get(0).get().configure(null, null, null)); }