### Question:
CurveNodeDate implements ImmutableBean, Serializable { public static CurveNodeDate of(LocalDate date) { return new CurveNodeDate(CurveNodeDateType.FIXED, date); } private  CurveNodeDate(
      CurveNodeDateType type,
      LocalDate date); static CurveNodeDate of(LocalDate date); boolean isEnd(); boolean isLastFixing(); boolean isFixed(); LocalDate getDate(); LocalDate calculate(Supplier<LocalDate> endDateSupplier, Supplier<LocalDate> lastFixingDateSupplier); static CurveNodeDate.Meta meta(); @Override CurveNodeDate.Meta metaBean(); CurveNodeDateType getType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final CurveNodeDate END; static final CurveNodeDate LAST_FIXING; }### Answer:
@Test public void coverage() { CurveNodeDate test = CurveNodeDate.of(DATE1); coverImmutableBean(test); CurveNodeDate test2 = CurveNodeDate.LAST_FIXING; coverBeanEquals(test, test2); coverEnum(CurveNodeDateType.class); }
@Test public void test_serialization() { CurveNodeDate test = CurveNodeDate.of(DATE1); assertSerialization(test); }