### Question:
OvernightCompoundedAnnualRateComputation implements OvernightRateComputation, ImmutableBean, Serializable { public static OvernightCompoundedAnnualRateComputation.Builder builder() { return new OvernightCompoundedAnnualRateComputation.Builder(); } private  OvernightCompoundedAnnualRateComputation(
      OvernightIndex index,
      HolidayCalendar fixingCalendar,
      LocalDate startDate,
      LocalDate endDate); static OvernightCompoundedAnnualRateComputation of(
      OvernightIndex index,
      LocalDate startDate,
      LocalDate endDate,
      ReferenceData refData); static OvernightCompoundedAnnualRateComputation.Meta meta(); static OvernightCompoundedAnnualRateComputation.Builder builder(); @Override OvernightCompoundedAnnualRateComputation.Meta metaBean(); @Override OvernightIndex getIndex(); @Override HolidayCalendar getFixingCalendar(); @Override LocalDate getStartDate(); @Override LocalDate getEndDate(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_collectIndices() { OvernightCompoundedAnnualRateComputation test = sut(); ImmutableSet.Builder<Index> builder = ImmutableSet.builder(); test.collectIndices(builder); assertThat(builder.build()).containsOnly(BRL_CDI); }