@Test
void test() {

    final List<ExecutionProfiler> list = new ArrayList<>();
    list.add(new SimpleExecutionProfiler(10));
    list.add(new SimpleExecutionProfiler(1));
    list.add(new SimpleExecutionProfiler(5));
    final ExecutionProfilerTopN topN = new ExecutionProfilerTopN(list, 2);
    assertThat(topN.getTopN().get(0).getTotalExecutionCount()).isEqualTo(10);
    assertThat(topN.getTopN().get(1).getTotalExecutionCount()).isEqualTo(5);
    assertThat(topN.getTopN().size()).isEqualTo(2);
}