### Question:
CashFlows implements FxConvertible<CashFlows>, ImmutableBean, Serializable { public static CashFlows of(CashFlow cashFlow) { return CashFlows.of(ImmutableList.of(cashFlow)); } private  CashFlows(
      List<CashFlow> cashFlows); static CashFlows of(CashFlow cashFlow); static CashFlows of(List<CashFlow> cashFlows); CashFlow getCashFlow(int index); CashFlows combinedWith(CashFlow cashFlow); CashFlows combinedWith(CashFlows other); CashFlows sorted(); @Override CashFlows convertedTo(Currency resultCurrency, FxRateProvider rateProvider); static CashFlows.Meta meta(); @Override CashFlows.Meta metaBean(); ImmutableList<CashFlow> getCashFlows(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final CashFlows NONE; }### Answer:
@Test public void coverage() { CashFlows test1 = CashFlows.of(CASH_FLOW_1); coverImmutableBean(test1); CashFlows test2 = CashFlows.of(ImmutableList.of(CASH_FLOW_2, CASH_FLOW_3)); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { CashFlows test = CashFlows.of(ImmutableList.of(CASH_FLOW_1, CASH_FLOW_2, CASH_FLOW_3)); assertSerialization(test); }