Source:
<code><START> public static Collection<Object[]> data() { <END> return Arrays.asList(new Object[][]{ {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getCompletedHistoricActivityInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getRunningHistoricActivityInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getCompletedHistoricProcessInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getRunningHistoricProcessInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getCompletedHistoricTaskInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getRunningHistoricTaskInstances(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getHistoricIdentityLinkLogs(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getHistoricUserOperationLogs(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getHistoricVariableUpdates(new Date(0L), null, 10)}, {(Function<OptimizeService, List<?>>) optimizeService -> optimizeService.getHistoricDecisionInstances(new Date(0L), null, 10)}, }); }</code><technical_language>parameterization is used, tests run #getCompletedHistoricActivityInstances</technical_language>

Target:
public static Collection<Object[]> data() { return Arrays.asList(new Object[][]{ {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getCompletedHistoricActivityInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getRunningHistoricActivityInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getCompletedHistoricProcessInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getRunningHistoricProcessInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getCompletedHistoricTaskInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getRunningHistoricTaskInstances(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getHistoricIdentityLinkLogs(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getHistoricUserOperationLogs(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getHistoricVariableUpdates(new Date(0L), null, 10); } }}, {new Function<OptimizeService, List<?>>() { @Override public List<?> apply(final OptimizeService optimizeService) { return optimizeService.getHistoricDecisionInstances(new Date(0L), null, 10); } }}, }); }