### Question:
FixedRateSwapLegConvention implements SwapLegConvention, ImmutableBean, Serializable { public static FixedRateSwapLegConvention of( Currency currency, DayCount dayCount, Frequency accrualFrequency, BusinessDayAdjustment accrualBusinessDayAdjustment) { return FixedRateSwapLegConvention.builder() .currency(currency) .dayCount(dayCount) .accrualFrequency(accrualFrequency) .accrualBusinessDayAdjustment(accrualBusinessDayAdjustment) .stubConvention(StubConvention.SMART_INITIAL) .build(); } private  FixedRateSwapLegConvention(
      Currency currency,
      DayCount dayCount,
      Frequency accrualFrequency,
      BusinessDayAdjustment accrualBusinessDayAdjustment,
      BusinessDayAdjustment startDateBusinessDayAdjustment,
      BusinessDayAdjustment endDateBusinessDayAdjustment,
      StubConvention stubConvention,
      RollConvention rollConvention,
      Frequency paymentFrequency,
      DaysAdjustment paymentDateOffset,
      CompoundingMethod compoundingMethod,
      FixedAccrualMethod accrualMethod); static FixedRateSwapLegConvention of(
      Currency currency,
      DayCount dayCount,
      Frequency accrualFrequency,
      BusinessDayAdjustment accrualBusinessDayAdjustment); BusinessDayAdjustment getStartDateBusinessDayAdjustment(); BusinessDayAdjustment getEndDateBusinessDayAdjustment(); StubConvention getStubConvention(); RollConvention getRollConvention(); Frequency getPaymentFrequency(); DaysAdjustment getPaymentDateOffset(); CompoundingMethod getCompoundingMethod(); RateCalculationSwapLeg toLeg(
      LocalDate startDate,
      LocalDate endDate,
      PayReceive payReceive,
      double notional,
      double fixedRate); static FixedRateSwapLegConvention.Meta meta(); static FixedRateSwapLegConvention.Builder builder(); @Override FixedRateSwapLegConvention.Meta metaBean(); Currency getCurrency(); DayCount getDayCount(); Frequency getAccrualFrequency(); BusinessDayAdjustment getAccrualBusinessDayAdjustment(); FixedAccrualMethod getAccrualMethod(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_serialization() { FixedRateSwapLegConvention test = FixedRateSwapLegConvention.of(GBP, ACT_365F, P3M, BDA_MOD_FOLLOW); assertSerialization(test); }