Summary compileSummary(Collection<Pool> pools, List<TestClass> testClasses) {
    Summary.Builder summaryBuilder = aSummary();
    for (Pool pool : pools) {
      PoolSummary poolSummary = compilePoolSummary(pool);
      summaryBuilder.addPoolSummary(poolSummary);
    }
    addIgnoredTests(testClasses, summaryBuilder);
    summaryBuilder.withTitle(runtimeConfiguration.getTitle());
    summaryBuilder.withSubtitle(runtimeConfiguration.getSubtitle());

    return summaryBuilder.build();
  }
 private void addIgnoredTests(List<TestClass> testClasses, Summary.Builder summaryBuilder) {
   for (TestClass testClass : testClasses) {
     for (TestMethod ignoredMethod : testClass.getIgnoredMethods()) {
       summaryBuilder.addIgnoredTest(testClass.getName() + ":" + ignoredMethod);
     }
   }
 }