### Question:
ResolvedIborCapFloor implements ResolvedProduct, ImmutableBean, Serializable { public static ResolvedIborCapFloor of(ResolvedIborCapFloorLeg capFloorLeg) { ArgChecker.notNull(capFloorLeg, "capFloorLeg"); return new ResolvedIborCapFloor(capFloorLeg, null); } @ImmutableConstructor private  ResolvedIborCapFloor(ResolvedIborCapFloorLeg capFloorLeg, ResolvedSwapLeg payLeg); static ResolvedIborCapFloor of(ResolvedIborCapFloorLeg capFloorLeg); static ResolvedIborCapFloor of(ResolvedIborCapFloorLeg capFloorLeg, ResolvedSwapLeg payLeg); ImmutableSet<Currency> allPaymentCurrencies(); ImmutableSet<Index> allIndices(); static ResolvedIborCapFloor.Meta meta(); @Override ResolvedIborCapFloor.Meta metaBean(); ResolvedIborCapFloorLeg getCapFloorLeg(); Optional<ResolvedSwapLeg> getPayLeg(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ResolvedIborCapFloor test1 = ResolvedIborCapFloor.of(CAPFLOOR_LEG, PAY_LEG); coverImmutableBean(test1); ResolvedIborCapFloorLeg capFloor = ResolvedIborCapFloorLeg.builder() .capletFloorletPeriods(PERIOD_1) .payReceive(PAY) .build(); ResolvedIborCapFloor test2 = ResolvedIborCapFloor.of(capFloor); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedIborCapFloor test = ResolvedIborCapFloor.of(CAPFLOOR_LEG); assertSerialization(test); }