/**
  * Constructs a {@link SignedResult} with specified values for the properties we care about. Other
  * properties are arbitrary.
  */
 private SignedResult makeSignedResult(final int secondsToFirstRun, final int secondsToSign) {
   final HistoricalCalculation calc = makeHistoricalCalc(secondsToFirstRun);
   return new SignedResult(
       calc,
       100,
       Optional.<String>absent(),
       calc.getStartTimestamp().plusSeconds(secondsToSign),
       ImmutableMap.<String, String>of(),
       ImmutableMap.<String, Float>of());
 }
  @Test
  public final void testNoSigned() {
    final HistoricalCalculation calc = makeHistoricalCalc(67);
    final ImmutableList<HistoricalRunInfo> runInfos =
        ImmutableList.of(HistoricalRunInfo.unsigned(calc));

    final UtilizationSummary actualSummary = UtilizationSummary.fromRunInfos(runInfos);

    assertEquals(runInfos.size(), actualSummary.getTotalCount());
    assertEquals(0, actualSummary.getSignedCount());
    assertEquals(calc.getSecondsToFirstRun(), actualSummary.getSecondsToFirstRunAverage());
    assertEquals(-1, actualSummary.getSecondsToSignAverage());
  }