@Test
void shouldProcessNullBuildOrder() {

    final List<HistoryTrendItem> history = randomHistoryTrendItems();
    final Map<String, Object> extra = new HashMap<>();
    extra.put(HISTORY_TREND_BLOCK_NAME, history);
    extra.put(EXECUTORS_BLOCK_NAME, new ExecutorInfo().setBuildOrder(null));
    final List<LaunchResults> launchResults = Arrays.asList(
            createLaunchResults(extra,
                    randomTestResult().setStatus(Status.PASSED),
                    randomTestResult().setStatus(Status.FAILED),
                    randomTestResult().setStatus(Status.FAILED)
            ),
            createLaunchResults(extra,
                    randomTestResult().setStatus(Status.PASSED),
                    randomTestResult().setStatus(Status.FAILED),
                    randomTestResult().setStatus(Status.FAILED)
            )
    );
    final List<HistoryTrendItem> data = HistoryTrendPlugin.getData(launchResults);
    assertThat(data)
            .hasSize(1 + 2 * history.size());
}