### Question:
ResolvedCapitalIndexedBondTrade implements ResolvedTrade, ImmutableBean, Serializable { public Optional<ResolvedCapitalIndexedBondSettlement> getSettlement() { return Optional.ofNullable(settlement); } ResolvedCapitalIndexedBondTrade(
      PortfolioItemInfo info,
      ResolvedCapitalIndexedBond product,
      double quantity,
      ResolvedCapitalIndexedBondSettlement settlement); static ResolvedCapitalIndexedBondTrade.Meta meta(); static ResolvedCapitalIndexedBondTrade.Builder builder(); @Override ResolvedCapitalIndexedBondTrade.Meta metaBean(); @Override PortfolioItemInfo getInfo(); @Override ResolvedCapitalIndexedBond getProduct(); double getQuantity(); Optional<ResolvedCapitalIndexedBondSettlement> getSettlement(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder() { ResolvedCapitalIndexedBondTrade test = sut(); assertThat(test.getSettlement()).isPresent(); }