ActualActualICMA extends ActualTypeDayCount { @Override public double getDayCountFraction(final LocalDate firstDate, final LocalDate secondDate) { throw new NotImplementedException("Cannot get daycount fraction; need information about the coupon and payment frequency"); }  @Override double getDayCountFraction(final LocalDate firstDate, final LocalDate secondDate); @Override double getAccruedInterest(final LocalDate previousCouponDate, final LocalDate date, final LocalDate nextCouponDate, final double coupon, final double paymentsPerYear); double getAccruedInterest(final ZonedDateTime previousCouponDate, final ZonedDateTime date, final ZonedDateTime nextCouponDate, final double coupon, final double paymentsPerYear,
      final StubType stubType); double getAccruedInterest(final LocalDate previousCouponDate, final LocalDate date, final LocalDate nextCouponDate, final double coupon, final double paymentsPerYear,
      final StubType stubType); @Override String getName();  }
@Test(expectedExceptions = NotImplementedException.class) public void testGetDayCount1() { DC1.getDayCountFraction(D1, D2); }
@Test(expectedExceptions = NotImplementedException.class) public void testGetDayCount2() { DC2.getDayCountFraction(D1, D2); }